mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 11:28:22 +00:00

Some LSP servers (tailwindcss, rome) are known to request registration for `workspace/didChangeWatchedFiles` even when the corresponding client capability does not advertise support. This change adds an extra check in the `client/registerCapability` handler not to start a watch unless the client capability is set appropriately.