fix diagnostics
This commit is contained in:
parent
0209283a8f
commit
ad2242c48c
|
@ -115,7 +115,7 @@ local c_fg_exception = {'#7c4444', 251, 'gray'}
|
||||||
|
|
||||||
local c_alert_strong = {'#d70000', 124, 'darkred'}
|
local c_alert_strong = {'#d70000', 124, 'darkred'}
|
||||||
local c_alert = {'#d75f00', 196, 'red'}
|
local c_alert = {'#d75f00', 196, 'red'}
|
||||||
local c_alert_weak = {'#d7a100', 203, 'red'}
|
local c_alert_weak = {'#000000', 203, 'red'}
|
||||||
|
|
||||||
local c_question = {'#000000', 0, 'black'}
|
local c_question = {'#000000', 0, 'black'}
|
||||||
|
|
||||||
|
@ -387,31 +387,13 @@ local highlight_groups = {
|
||||||
WarningMsg = {fg=c_alert, style='bold'},
|
WarningMsg = {fg=c_alert, style='bold'},
|
||||||
Question = {fg=c_question, style='bold'},
|
Question = {fg=c_question, style='bold'},
|
||||||
|
|
||||||
--[[ 4.2.11. LSP ]]
|
--[[ 4.2.11. Diagnostic ]]
|
||||||
LspDiagnosticsDefaultError = 'Error',
|
DiagnosticHint = 'Hint',
|
||||||
LspDiagnosticsFloatingError = 'ErrorMsg',
|
DiagnosticWarn = 'Warning',
|
||||||
LspDiagnosticsSignError = 'LspDiagnosticsFloatingError',
|
DiagnosticWarning = 'Warning',
|
||||||
LspDiagnosticsLineNrError = 'ErrorMsg',
|
DiagnosticError = 'Error',
|
||||||
|
DiagnosticInfo = 'Info',
|
||||||
|
|
||||||
LspDiagnosticsDefaultWarning = 'Warning',
|
|
||||||
LspDiagnosticsFloatingWarning = 'WarningMsg',
|
|
||||||
LspDiagnosticsSignWarning = 'LspDiagnosticsFloatingWarning',
|
|
||||||
LspDiagnosticsLineNrWarning = 'WarningMsg',
|
|
||||||
|
|
||||||
LspDiagnosticsDefaultHint = 'Hint',
|
|
||||||
LspDiagnosticsFloatingHint = 'HintMsg',
|
|
||||||
LspDiagnosticsSignHint = 'LspDiagnosticsFloatingHint',
|
|
||||||
LspDiagnosticsLineNrHint = 'HintMsg',
|
|
||||||
|
|
||||||
LspDiagnosticsDefaultInformation = 'Info',
|
|
||||||
LspDiagnosticsFloatingInformation = 'InfoMsg',
|
|
||||||
LspDiagnosticsSignInformation = 'LspDiagnosticsFloatingInformation',
|
|
||||||
LspDiagnosticsLineNrInformation = 'InfoMsg',
|
|
||||||
|
|
||||||
LspDiagnosticsUnderlineError = 'CocErrorHighlight',
|
|
||||||
LspDiagnosticsUnderlineHint = 'CocHintHighlight',
|
|
||||||
LspDiagnosticsUnderlineInfo = 'CocInfoHighlight',
|
|
||||||
LspDiagnosticsUnderlineWarning = 'CocWarningHighlight',
|
|
||||||
|
|
||||||
--[[ 4.2.12. Cursor ]]
|
--[[ 4.2.12. Cursor ]]
|
||||||
Cursor = {style='inverse'},
|
Cursor = {style='inverse'},
|
||||||
|
|
Loading…
Reference in New Issue