summary refs log tree commit diff
path: root/.vim/lua/conf/diagnostic.lua
diff options
context:
space:
mode:
Diffstat (limited to '.vim/lua/conf/diagnostic.lua')
-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')