move diagnostic colors to lsp.lua

This commit is contained in:
2022-03-21 18:07:33 +03:00
parent c95deae24e
commit 357f1736bd
2 changed files with 7 additions and 5 deletions

View File

@@ -229,3 +229,10 @@ vim.lsp.handlers["textDocument/publishDiagnostics"] = vim.lsp.with(vim.lsp.diagn
update_in_insert = false,
signs = false,
})
vim.cmd([[
hi DiagnosticError guifg=#e80f43
hi DiagnosticWarn guifg=#ffc914
hi DiagnosticInfo guifg=#9fd356
hi DiagnosticHint guifg=#1d74f7
]])

View File

@@ -4,9 +4,4 @@ vim.g.edge_better_performance = 1
vim.cmd([[
colorscheme edge
hi SpellBad guifg=red
hi DiagnosticError guifg=#e80f43
hi DiagnosticWarn guifg=#ffc914
hi DiagnosticInfo guifg=#9fd356
hi DiagnosticHint guifg=#1d74f7
]])