Closed JINNMnm closed 11 months ago
same error as u
It's happening cuz of a missing return statement after https://github.com/AckslD/swenv.nvim/blob/a85fc11dbf1bf0fa4aa3b683443957e8789da5e5/lua/swenv/api.lua#L101 , added it locally which fixes it, seems like small miss, should only be a matter of time before the authors fix it.
Excellent👍, thanks for ur suggestion! The bug fixed
thx bro! Bug fixed!
sorry my bad, should be fixed now
after installing it, when i call :lua require("swenv.api").pick_venv() and it shows: E5108: Error executing lua vim/shared.lua:0: src: expected table, got nil stack traceback: [C]: in function 'error' vim/shared.lua: in function 'validate' vim/shared.lua: in function 'list_extend' ...nvim/site/pack/packer/start/swenv.nvim/lua/swenv/api.lua:124: in function 'get_venvs' ...nvim/site/pack/packer/start/swenv.nvim/lua/swenv/api.lua:132: in function 'pick_venv' [string ":lua"]:1: in main chunk