aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--runtime/doc/news.txt3
-rw-r--r--runtime/lua/vim/lsp/protocol.lua2
2 files changed, 4 insertions, 1 deletions
diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt
index bbf63a5ee0..3f07dd2e66 100644
--- a/runtime/doc/news.txt
+++ b/runtime/doc/news.txt
@@ -52,6 +52,9 @@ The following changes to existing APIs or features add new behavior.
• vim.diagnostic.config() now accepts a function for the virtual_text.prefix
option, which allows for rendering e.g., diagnostic severities differently.
+• The `workspace/didChangeWatchedFiles` LSP client capability is now enabled
+ by default.
+
==============================================================================
REMOVED FEATURES *news-removed*
diff --git a/runtime/lua/vim/lsp/protocol.lua b/runtime/lua/vim/lsp/protocol.lua
index 2cb8fc7955..a7919f12f5 100644
--- a/runtime/lua/vim/lsp/protocol.lua
+++ b/runtime/lua/vim/lsp/protocol.lua
@@ -837,7 +837,7 @@ function protocol.make_client_capabilities()
refreshSupport = true,
},
didChangeWatchedFiles = {
- dynamicRegistration = false,
+ dynamicRegistration = true,
relativePatternSupport = true,
},
},