fix(lsp): disable didChangeWatchedFiles on Linux

Problem:

The file watcher backends for Linux have too many limitations and
doesn't work reliably.

Solution:

disable didChangeWatchedFiles on Linux

Ref: #27807, #28058, #23291, #26520
This commit is contained in:
Lewis Russell
2024-05-10 13:47:30 +01:00
committed by Lewis Russell
parent ca735c7554
commit c1a95d9653
3 changed files with 9 additions and 6 deletions

View File

@@ -5521,7 +5521,7 @@ describe('LSP', function()
)
end
eq(true, check_registered(nil)) -- start{_client}() defaults to make_client_capabilities().
eq(is_os('mac') or is_os('win'), check_registered(nil)) -- start{_client}() defaults to make_client_capabilities().
eq(false, check_registered(vim.empty_dict()))
eq(
false,