diff options
author | Louie Shprung <lshprung@scu.edu> | 2022-11-22 20:03:59 -0800 |
---|---|---|
committer | Louie Shprung <lshprung@scu.edu> | 2022-11-22 20:03:59 -0800 |
commit | a1173fe7382fcced2e4b4978d1ec6942a48b159f (patch) | |
tree | 1611d8a03f2d42d1598079874e6f5a8f1d5b6e33 | |
parent | f3f96306badc6abdaab4a6f0b61b19e4e27dbdb0 (diff) |
Replace deprecated 'client.resolved_capabilities' with 'client.server_capabilities'
-rw-r--r-- | lua/user/lsp/handlers.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 |