From 3453b80d44ecd80f838cb12592ac78ff36a3508e Mon Sep 17 00:00:00 2001 From: sefidel Date: Sun, 3 Sep 2023 15:04:20 +0900 Subject: Revert "feat(packs/lspconfig)!: globally disable semantic highlighting" This reverts commit f0814fa0ec927adfad444b5c1d859a25753810a1. --- fnl/nvrc/packs/lspconfig.fnl | 9 --------- 1 file changed, 9 deletions(-) (limited to 'fnl') diff --git a/fnl/nvrc/packs/lspconfig.fnl b/fnl/nvrc/packs/lspconfig.fnl index 7bd3b23..8add874 100644 --- a/fnl/nvrc/packs/lspconfig.fnl +++ b/fnl/nvrc/packs/lspconfig.fnl @@ -1,6 +1,3 @@ -(import-macros {: ag! - : au!} :nvrc.macro.event) - (local lsp (require :lspconfig)) (local {: merge} (require :nvrc.utils)) (local colors (require :nvrc.colors)) @@ -34,12 +31,6 @@ :virtual_text {:prefix "-"} :signs false})) -;; Disable semantic hl globally, as it usually results in worse hl -(ag! global-no-semantic-hl - (au! LspAttach * (fn [args] - (local client (vim.lsp.get_client_by_id args.data.client_id)) - (set client.server_capabilities.semanticTokensProvider nil)))) - ;; rust-analyzer is managed via rust-tools.nvim (init_lsp :hls) (init_lsp :gopls) -- cgit 1.4.1