aboutsummaryrefslogtreecommitdiff
path: root/runtime/doc
diff options
context:
space:
mode:
authorLewis Russell <lewis6991@gmail.com>2024-02-07 11:28:35 +0000
committerLewis Russell <lewis6991@gmail.com>2024-03-01 23:00:20 +0000
commit4ff3217bbd8747d2d44680a825ac29097faf9c4b (patch)
tree22b024bfa5738a0556a88f9a35fca8cbe619841a /runtime/doc
parent816b56f878f0291c00a9018d5057b7b2b00f1891 (diff)
downloadrneovim-4ff3217bbd8747d2d44680a825ac29097faf9c4b.tar.gz
rneovim-4ff3217bbd8747d2d44680a825ac29097faf9c4b.tar.bz2
rneovim-4ff3217bbd8747d2d44680a825ac29097faf9c4b.zip
feat(lsp): add fswatch watchfunc backend
Problem: vim._watch.watchdirs has terrible performance. Solution: - On linux use fswatch as a watcher backend if available. - Add File watcher section to health:vim.lsp. Warn if watchfunc is libuv-poll.
Diffstat (limited to 'runtime/doc')
-rw-r--r--runtime/doc/news.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index 50beb79adf..516ff6f0fe 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -369,6 +369,9 @@ The following changes to existing APIs or features add new behavior.
• 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.
• |LspRequest| autocmd callbacks now contain additional information about the LSP
request status update that occurred.