mirror of
https://github.com/neovim/neovim.git
synced 2025-12-15 19:05:40 +00:00
Problem:
When the buffer 'filetype' changes, invalid or non-applicable LSP
clients are not detached.
https://github.com/neovim/neovim/issues/33443
https://github.com/neovim/nvim-lspconfig/issues/3326
Solution:
In the enable() routine, check can_start() on _existing_ clients.
(cherry picked from commit b877aa34cf)