Closed akashdiphazra closed 1 year ago
Does it work if you do :LspRestart
after switching venv?
No it, still doesn't works
@akashdiphazra I believe the problem is with vim.fn.expand('.')
when you set venvs_path
. It doesn't get expanded to the correct absolute path. You might wanna change it to venvs_path = vim.fn.getcwd()
instead and then give it a try.
I not proficient with lua api's in neovim. It worked thanks @skolj
I have created a virtual environment named myenv in the current directory, swenv detects the virtual environment but unable to detect packages present in it.
https://github.com/AckslD/swenv.nvim/assets/61003681/96d49c62-e872-442c-b014-48a89f3b4b56