From 23050d0a3a958cd011cd2bc87aa8a6f546399af2 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Thu, 22 Apr 2021 13:19:32 +0200 Subject: vim: update * adds colors * neuron.nvim config * etc. --- .vim/lua/conf/diagnostic.lua | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 .vim/lua/conf/diagnostic.lua (limited to '.vim/lua/conf/diagnostic.lua') diff --git a/.vim/lua/conf/diagnostic.lua b/.vim/lua/conf/diagnostic.lua deleted file mode 100644 index fe80fff..0000000 --- a/.vim/lua/conf/diagnostic.lua +++ /dev/null @@ -1,20 +0,0 @@ - -local g = vim.g -local cmd = vim.api.nvim_command - -g.diagnostic_enable_virtual_text = 1 -g.diagnostic_trimmed_virtual_text = '40' -g.diagnostic_insert_delay = 1 -cmd('nnoremap c[ PrevDiagnosticCycle') -cmd('nnoremap c] NextDiagnosticCycle') - - -vim.fn.sign_define("LspDiagnosticsErrorSign", {text="✘", texthl="LspDiagnosticsError"}) -vim.fn.sign_define("LspDiagnosticsWarningSign", {text="‼", texthl="LspDiagnosticsWarning"}) -vim.fn.sign_define("LspDiagnosticsInformationSign", {text="i", texthl="LspDiagnosticsInformation"}) -vim.fn.sign_define("LspDiagnosticsHintSign", {text="☛",texthl="LspDiagnosticsHint"}) - -cmd('highlight link LspDiagnosticsError Error') -cmd('highlight link LspDiagnosticsWarning WarningMsg') -cmd('highlight link LspDiagnosticsInformation Todo') -cmd('highlight link LspDiagnosticsHint Question') -- cgit 1.4.1