diff options
| author | Robert Günzler <r@gnzler.io> | 2021-04-22 13:19:32 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-04-26 02:09:48 +0200 |
| commit | 23050d0a3a958cd011cd2bc87aa8a6f546399af2 (patch) | |
| tree | 841940ce746a0375b706cae810f4088839f3b0cb /.vim/lua/conf/diagnostic.lua | |
| parent | d3497269ec01f89178b784169bdc53cbd16aafa2 (diff) | |
vim: update
* adds colors * neuron.nvim config * etc.
Diffstat (limited to '.vim/lua/conf/diagnostic.lua')
| -rw-r--r-- | .vim/lua/conf/diagnostic.lua | 20 |
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') |