aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/lsp_spec.lua
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-05-10 13:47:30 +0100
committerLewis Russell <me@lewisr.dev>2024-05-10 14:59:44 +0100
commitc1a95d9653f39c5e118d030270e4b77ebd20139e (patch)
tree02a6fb993bbc5f11f2c6490403f204e27001a16d /test/functional/plugin/lsp_spec.lua
parentca735c7554701a1191e6afdac2ea4b4f94ba6d88 (diff)
downloadrneovim-c1a95d9653f39c5e118d030270e4b77ebd20139e.tar.gz
rneovim-c1a95d9653f39c5e118d030270e4b77ebd20139e.tar.bz2
rneovim-c1a95d9653f39c5e118d030270e4b77ebd20139e.zip
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
Diffstat (limited to 'test/functional/plugin/lsp_spec.lua')
-rw-r--r--test/functional/plugin/lsp_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index 0432d3fc94..3bbb5c0971 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -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,