about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--fnl/nvrc/packs/lspconfig.fnl2
1 files changed, 1 insertions, 1 deletions
diff --git a/fnl/nvrc/packs/lspconfig.fnl b/fnl/nvrc/packs/lspconfig.fnl
index 39d96b5..70ab00a 100644
--- a/fnl/nvrc/packs/lspconfig.fnl
+++ b/fnl/nvrc/packs/lspconfig.fnl
@@ -3,7 +3,7 @@
 (local colors (require :nvrc.colors))
 
 (fn on_attach [client bufnr]
-  (if client.resolved_capabilities.document_highlight
+  (if client.server_capabilities.document_highlight
       (do
         (vim.api.nvim_exec "augroup lsp_document_highlight
         autocmd! * <buffer>