about summary refs log tree commit diff
path: root/fnl/nvrc/packs
diff options
context:
space:
mode:
Diffstat (limited to 'fnl/nvrc/packs')
-rw-r--r--fnl/nvrc/packs/lspconfig.fnl14
1 files changed, 0 insertions, 14 deletions
diff --git a/fnl/nvrc/packs/lspconfig.fnl b/fnl/nvrc/packs/lspconfig.fnl
index 08ef66a..585a7be 100644
--- a/fnl/nvrc/packs/lspconfig.fnl
+++ b/fnl/nvrc/packs/lspconfig.fnl
@@ -1,18 +1,10 @@
 (local lsp (require :lspconfig))
-(local {: highlight} (require :nvrc.macro.color))
 (local {: merge} (require :nvrc.utils))
 (local colors (require :nvrc.colors))
 
 (fn on_attach [client bufnr]
-  (highlight :DiagnosticError {:fg (. colors :red)})
-  (highlight :DiagnosticWarn {:fg (. colors :yellow)})
-  (highlight :DiagnosticInformation {:fg (. colors :green)})
-  (highlight :DiagnosticHint {:fg (. colors :grey)})
   (if client.resolved_capabilities.document_highlight
       (do
-        (highlight :LspReferenceRead {:underline true})
-        (highlight :LspReferenceText {:underline true})
-        (highlight :LspReferenceWrite {:underline true})
         (vim.api.nvim_exec "augroup lsp_document_highlight
         autocmd! * <buffer>
         autocmd CursorMoved <buffer> lua vim.lsp.buf.clear_references()
@@ -42,9 +34,3 @@
 (init_lsp :ccls)
 (init_lsp :hls)
 (init_lsp :rust_analyzer)
-
-(vim.cmd "highlight link LspSemantic_type Include")
-(vim.cmd "highlight link LspSemantic_function Identifier")
-(vim.cmd "highlight link LspSemantic_struct Number")
-(vim.cmd "highlight LspSemantic_variable guifg=gray")
-(vim.cmd "highlight link LspSemantic_keyword Structure")