feat(lsp): enable workspace/didChangeWatchedFiles by default (#23190)

This commit is contained in:
Jon Huhn 2023-04-22 02:37:38 -05:00 committed by GitHub
parent 2d2ed4f6fd
commit e9b85acfbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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*

View File

@ -837,7 +837,7 @@ function protocol.make_client_capabilities()
refreshSupport = true,
},
didChangeWatchedFiles = {
dynamicRegistration = false,
dynamicRegistration = true,
relativePatternSupport = true,
},
},