chore: update to client:supports_method

This commit is contained in:
2025-10-18 03:31:43 +02:00
parent b3495ef161
commit f34ddbac36
2 changed files with 2 additions and 2 deletions

View File

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