vague2k / huez.nvim

Theme picker/manager, Using the powers of Telescope for the frontend and Lazy.nvim for the backend

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bug: error in `:Huez` after adding preselection index in the picker

vague2k opened this issue · comments

FYI, this works fine:

vim.keymap.set("n", "<leader>tt", ":Huez<CR>", { desc = "Color Themes" })

But this not:

local pickers = require("huez.pickers")
vim.keymap.set("n", "<leader>tt", pickers.themes, { desc = "Color Themes" })

FYI, this works fine:

vim.keymap.set("n", "<leader>tt", ":Huez<CR>", { desc = "Color Themes" })

But this not:

local pickers = require("huez.pickers")
vim.keymap.set("n", "<leader>tt", pickers.themes, { desc = "Color Themes" })

@axzilla let me know if it works now, the function should set opts to nil as of #51 if no arg was passed, also feel free to try out the other pickers by calling the function instead of the command and let me know if you get the behavior?

@axzilla let me know if it works now, the function should set opts to nil as of #51 > if no arg was passed, also feel free to try out the other pickers by calling the function instead of the command and let me > know if you get the behavior?

Works great now, as do the other pickers. Thanks for that!