kosayoda / nvim-lightbulb

VSCode 💡 for neovim's built-in LSP.
MIT License
783 stars 27 forks source link

fix: check for code action support #22

Closed petertriho closed 2 years ago

petertriho commented 2 years ago

Use client.supports_method("textDocument/codeAction") instead of client.resolved_capabilities.code_action See https://github.com/jose-elias-alvarez/null-ls.nvim/issues/261#issuecomment-944844995

Fixes https://github.com/kosayoda/nvim-lightbulb/issues/20 on the nvim-lightbulb side

kosayoda commented 2 years ago

Thanks for the PR!