smjonas / inc-rename.nvim

Incremental LSP renaming based on Neovim's command-preview feature.
MIT License
637 stars 8 forks source link

fix: check for rename capability before finding references #57

Closed eslam-allam closed 2 months ago

eslam-allam commented 2 months ago

Prevents unwanted active lsps that dont support renaming such as sonarlint from closing the rename window. This issue happens when multiple Lsps are running on the same buffer and some of them don't support textDocument/rename.

smjonas commented 2 months ago

Thanks for the PR!