Open dimtsi opened 4 months ago
Hi @dimtsi, ropevim is in maintenance only mode. The current recommended way to use rope within vim is to use python-lsp-server with an LSP client. pylsp comes with builtin support for rope via the built-in plugin rope_rename, rope_autoimport, and rope_completion and pylsp-rope adds refactoring codeactions.
You should be able to use any LSP client of choice (I use vim-lsp, but I occasionally test on other LSP client as well). If you're using neovim though and want codeaction support, I would recommend against using the builtin LSP client, because IME neovim's default lsp is quite buggy when handling CodeActions.
After some attempts I do not seem to be able to setup
ropevim
in my Neovim setup(NvChad) which useslazyvim
plugin manager.I am using
python-language-server
(pylsp) LSP installed via Mason. I have installed the following libraries both in the default conda environment that is activated in the shell when I start nvim and the python-language-server virtual environment.In my
plugins.lua
I have added the followingand the following to
configs/lspconfig.lua
Having done all of that I do not get access to ropevim commands
:Rope*
or keybindings. The interesting thing is that when I press:h Rope<TAB>
I see the ropevim docs which is interesting. Am I missing something? And if it matters can you maybe explain how it should be installed using a lazy.nvim setup?Note: I am using an NvChad setup so I am more interested in why the commands are not loaded and not the keybindings as some of them can already be overridden.