Buggy Neovim native LSP CodeAction and Workaround

by lieryan
GNU/Linux ◆ xterm-256color ◆ zsh 42 views

To workaround this bug, you need to select a text, trigger a code action, unselect the text, re-select again, and then re-trigger the code action. Obviously, that is an unusably bad user experience, which is why Rope’s docs (https://github.com/python-rope/rope/wiki/Rope-in-Vim-or-Neovim) have always recommended against using the Neovim native LSP.

Alternatively, any of the other LSP plugins works well in Neovim, which is a much more practical workaround.