aboutsummaryrefslogtreecommitdiff
path: root/lua/user/lsp
diff options
context:
space:
mode:
authorFranciszek Malinka <franciszek.malinka@gmail.com>2022-10-12 23:03:21 +0200
committerFranciszek Malinka <franciszek.malinka@gmail.com>2022-10-12 23:03:21 +0200
commita9531bdeee5ef330ff360b3ef5b4d66ed435e4ed (patch)
tree003e0f1160934399db4007037ed038db0b01753e /lua/user/lsp
parenta9d5d249bd3bfc147674d37b14debfed910513bd (diff)
Fix
Diffstat (limited to 'lua/user/lsp')
-rw-r--r--lua/user/lsp/handlers.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua
index 6cb5f7c..9b35d98 100644
--- a/lua/user/lsp/handlers.lua
+++ b/lua/user/lsp/handlers.lua
@@ -56,7 +56,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