From cbf1a4d262cabe103296942414ff1c5248a64c75 Mon Sep 17 00:00:00 2001 From: sefidel Date: Fri, 9 Sep 2022 23:01:40 +0900 Subject: feat(packs/lspconfig): fix deprecated calls --- fnl/nvrc/packs/lspconfig.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fnl/nvrc/packs/lspconfig.fnl') 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! * -- cgit 1.4.1