mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
fix(lsp): deprecate vim.lsp.protocol.Methods
(#35998)
This commit is contained in:
@@ -126,7 +126,7 @@ local function check_watcher()
|
||||
'dynamicRegistration'
|
||||
)
|
||||
local has_dynamic_capability =
|
||||
client.dynamic_capabilities:get(vim.lsp.protocol.Methods.workspace_didChangeWatchedFiles)
|
||||
client.dynamic_capabilities:get('workspace/didChangeWatchedFiles')
|
||||
return has_capability == nil
|
||||
or has_dynamic_capability == nil
|
||||
or client.workspace_folders == nil
|
||||
|
Reference in New Issue
Block a user