about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-09-09 23:01:40 +0900
committersefidel <contact@sefidel.net>2022-09-09 23:01:40 +0900
commitcbf1a4d262cabe103296942414ff1c5248a64c75 (patch)
tree9dbda3f46c25c2f07e11d38a285b533c4d38d507 /fnl/nvrc/packs
parentf03de0d3f2240f51f3b96b79e32999f3a693cb9d (diff)
downloadnvimrc-cbf1a4d262cabe103296942414ff1c5248a64c75.tar.gz
nvimrc-cbf1a4d262cabe103296942414ff1c5248a64c75.zip
feat(packs/lspconfig): fix deprecated calls
Diffstat (limited to 'fnl/nvrc/packs')
-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>