From a1173fe7382fcced2e4b4978d1ec6942a48b159f Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Tue, 22 Nov 2022 20:03:59 -0800 Subject: Replace deprecated 'client.resolved_capabilities' with 'client.server_capabilities' --- lua/user/lsp/handlers.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index c58cd17..c670545 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -52,7 +52,7 @@ end local function lsp_highlight_document(client) -- Set autocommands conditional on server_capabilities - if client.resolved_capabilities.document_highlight then + if client.server_capabilities.document_highlight then vim.api.nvim_exec( [[ augroup lsp_document_highlight -- cgit