mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 03:48:18 +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.