diff options
author | Jon Huhn <nojnhuh@users.noreply.github.com> | 2023-05-20 00:45:39 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-20 07:45:39 +0200 |
commit | 073035a030f5ef8ae9b9ca51552f887944c52eaa (patch) | |
tree | 4e2baa579f8f0f9b89a47323f5e7d45aa632bc7c /test/functional/vimscript/system_spec.lua | |
parent | 413d57ae717d0e87ba01db7f46afaa5ae25ebe0b (diff) | |
download | rneovim-073035a030f5ef8ae9b9ca51552f887944c52eaa.tar.gz rneovim-073035a030f5ef8ae9b9ca51552f887944c52eaa.tar.bz2 rneovim-073035a030f5ef8ae9b9ca51552f887944c52eaa.zip |
fix(lsp): don't register didChangeWatchedFiles when capability not set (#23689)
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.
Diffstat (limited to 'test/functional/vimscript/system_spec.lua')
0 files changed, 0 insertions, 0 deletions