summary refs log tree commit diff
path: root/.vim/lua/conf/diagnostic.lua
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2021-04-22 13:19:32 +0200
committerRobert Günzler <r@gnzler.io>2021-04-26 02:09:48 +0200
commit23050d0a3a958cd011cd2bc87aa8a6f546399af2 (patch)
tree841940ce746a0375b706cae810f4088839f3b0cb /.vim/lua/conf/diagnostic.lua
parentd3497269ec01f89178b784169bdc53cbd16aafa2 (diff)
vim: update
* adds colors
* neuron.nvim config
* etc.
Diffstat (limited to '')
-rw-r--r--.vim/lua/conf/diagnostic.lua20
1 files changed, 0 insertions, 20 deletions
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 <silent> c[ <cmd>PrevDiagnosticCycle<cr>')
-cmd('nnoremap <silent> c] <cmd>NextDiagnosticCycle<cr>')
-
-
-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')