chore: update to client:supports_method
This commit is contained in:
@@ -4,7 +4,7 @@ MiniDeps.later(function()
|
||||
local function disable(args)
|
||||
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||
local tD_dH = vim.lsp.protocol.Methods.textDocument_documentHighlight
|
||||
if client and not client.supports_method(tD_dH) then return end
|
||||
if client and not client:supports_method(tD_dH) then return end
|
||||
vim.b[args.buf].minicursorword_disable = true
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user