diff options
author | sefidel <contact@sefidel.net> | 2023-09-03 15:04:20 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-09-03 15:04:20 +0900 |
commit | 3453b80d44ecd80f838cb12592ac78ff36a3508e (patch) | |
tree | 33e5d8c391c54d6679d64ee39153e30bb1be81aa /fnl/nvrc/packs | |
parent | cfad6430a535ee0870025bfa4bec813598716f7d (diff) | |
download | nvimrc-3453b80d44ecd80f838cb12592ac78ff36a3508e.tar.gz nvimrc-3453b80d44ecd80f838cb12592ac78ff36a3508e.zip |
Revert "feat(packs/lspconfig)!: globally disable semantic highlighting"
This reverts commit f0814fa0ec927adfad444b5c1d859a25753810a1.
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r-- | fnl/nvrc/packs/lspconfig.fnl | 9 |
1 files changed, 0 insertions, 9 deletions
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) |