vague2k / huez.nvim

All things color related. All Lua.
MIT License
102 stars 3 forks source link

Error when switching using HuezLive command #38

Closed try-to-fly closed 1 month ago

try-to-fly commented 1 month ago

When attempting to switch plugins using the HuezLive command in Neovim, I encountered the following error:

E5108: Error executing lua: ...local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/init.lua:215: attempt to index field '_' (a nil value)
stack traceback:
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/init.lua:215: in function 'clear'
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/init.lua:39: in function 'run'
    ...local/share/nvim/lazy/lazy.nvim/lua/lazy/manage/init.lua:81: in function 'install'
    ...re/nvim/lazy/huez.nvim/lua/huez-manager/api/selected.lua:43: in function 'lazy_flush'
    ...hare/nvim/lazy/huez.nvim/lua/huez/pickers/live/utils.lua:14: in function 'load_currently_installed'
    ...re/nvim/lazy/huez.nvim/lua/huez/pickers/live/actions.lua:31: in function 'key_func'
    ...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:293: in function <...hare/nvim/lazy/telescope.nvim/lua/telescope/mappings.lua:292>
vague2k commented 1 month ago

Make sure to add the line import = "huez-manager.import" in you huez lazy spec

vague2k commented 1 month ago

When attempting to switch plugins using the HuezLive command in Neovim, I encountered the following error:

please let me know if the above comment worked for you, if it did i will close the issue

try-to-fly commented 1 month ago

After add this code , work fine, Thank You