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

@@ -59,7 +59,7 @@ MiniDeps.later(function()
)
local tD_dH = vim.lsp.protocol.Methods.textDocument_documentHighlight
if client and client.supports_method(tD_dH) then
if client and client:supports_method(tD_dH) then
local ag = vim.api.nvim_create_augroup
local ac = vim.api.nvim_create_autocmd
local g = ag("custom-lsp-tD_dH-highlight", { clear = false })