diff options
| author | Lewis Russell <lewis6991@gmail.com> | 2024-05-10 13:47:30 +0100 |
|---|---|---|
| committer | Lewis Russell <me@lewisr.dev> | 2024-05-10 14:59:44 +0100 |
| commit | c1a95d9653f39c5e118d030270e4b77ebd20139e (patch) | |
| tree | 02a6fb993bbc5f11f2c6490403f204e27001a16d /runtime/doc | |
| parent | ca735c7554701a1191e6afdac2ea4b4f94ba6d88 (diff) | |
| download | rneovim-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 'runtime/doc')
| -rw-r--r-- | runtime/doc/news.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 6bdb2d808e..111e69b0fe 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -435,10 +435,8 @@ The following changes to existing APIs or features add new behavior. • Enabled treesitter highlighting for Lua files. • The `workspace/didChangeWatchedFiles` LSP client capability is now enabled - by default. - • On Mac or Windows, `libuv.fs_watch` is used as the backend. - • On Linux, `fswatch` (recommended) is used as the backend if available, - otherwise `libuv.fs_event` is used on each subdirectory. + by default on Mac and Windows. Disabled on Linux since there currently isn't + a viable backend for watching files that scales well for large directories. • |LspRequest| autocmd callbacks now contain additional information about the LSP request status update that occurred. |