nvim: yolokai: Update syntax highlighting
We want information messages to have orange color and warning messages to have pink color. Also fix the syntax highlighting for LspDiagnostics. While migrating away from diagnostic-nvim, we did not specify the syntax highlight for virtual text correctly, which resulted in them having just plain white text on black background.
This commit is contained in:
parent
6929c30e2d
commit
494f0706bb
1 changed files with 24 additions and 25 deletions
|
@ -112,8 +112,8 @@ local highlight_groups = {
|
||||||
helpHyperTextJump = 'Underlined',
|
helpHyperTextJump = 'Underlined',
|
||||||
helpSpecial = 'Function' ,
|
helpSpecial = 'Function' ,
|
||||||
Hint = {bg=lightblack3, fg=white, style='bold' },
|
Hint = {bg=lightblack3, fg=white, style='bold' },
|
||||||
Info = {bg=pink, fg=black, style='bold' },
|
Info = {bg=orange, fg=black, style='bold' },
|
||||||
Warning = {bg=orange, fg=black, style='bold' },
|
Warning = {bg=pink, fg=black, style='bold' },
|
||||||
|
|
||||||
--[[ 4.2... Editor UI ]]
|
--[[ 4.2... Editor UI ]]
|
||||||
--[[ 4.2.1. Status Line]]
|
--[[ 4.2.1. Status Line]]
|
||||||
|
@ -175,37 +175,36 @@ local highlight_groups = {
|
||||||
--[[ 4.2.10. Messages]]
|
--[[ 4.2.10. Messages]]
|
||||||
ErrorMsg = {bg=black, fg=red, style=NONE },
|
ErrorMsg = {bg=black, fg=red, style=NONE },
|
||||||
HintMsg = {bg=black, fg=purple, style='bold' },
|
HintMsg = {bg=black, fg=purple, style='bold' },
|
||||||
InfoMsg = {bg=black, fg=pink, style='bold' },
|
InfoMsg = {bg=black, fg=orange, style='bold' },
|
||||||
ModeMsg = {bg=black, fg=yellow, style=NONE },
|
ModeMsg = {bg=black, fg=yellow, style=NONE },
|
||||||
WarningMsg = {bg=black, fg=red, style='bold' },
|
WarningMsg = {bg=black, fg=pink, style='bold' },
|
||||||
Question = {bg=black, fg=yellow, style='underline'},
|
Question = {bg=black, fg=yellow, style='underline'},
|
||||||
|
|
||||||
--[[ 4.2.11. LSP ]]
|
--[[ 4.2.11. LSP ]]
|
||||||
LspDiagnosticsDefaultError = 'Error' ,
|
LspDiagnosticsDefaultError = 'ErrorMsg' ,
|
||||||
LspDiagnosticsFloatingError = 'ErrorMsg',
|
LspDiagnosticsDefaultWarning = 'WarningMsg' ,
|
||||||
LspDiagnosticsSignError = 'ErrorMsg',
|
LspDiagnosticsDefaultInformation = 'InfoMsg' ,
|
||||||
|
LspDiagnosticsDefaultHint = 'HintMsg' ,
|
||||||
|
|
||||||
LspDiagnosticsDefaultWarning = 'Warning' ,
|
LspDiagnosticsFloatingError = 'ErrorMsg' ,
|
||||||
LspDiagnosticsFloatingWarning = 'WarningMsg',
|
LspDiagnosticsFloatingWarning = 'WarningMsg' ,
|
||||||
LspDiagnosticsSignWarning = 'WarningMsg',
|
LspDiagnosticsFloatingInformation = 'InfoMsg' ,
|
||||||
|
LspDiagnosticsFloatingHint = 'HintMsg' ,
|
||||||
|
|
||||||
LspDiagnosticsDefaultHint = 'Hint' ,
|
LspDiagnosticsSignError = 'ErrorMsg' ,
|
||||||
LspDiagnosticsFloatingHint = 'HintMsg',
|
LspDiagnosticsSignWarning = 'WarningMsg' ,
|
||||||
LspDiagnosticsSignHint = 'HintMsg',
|
LspDiagnosticsSignInformation = 'InfoMsg' ,
|
||||||
|
LspDiagnosticsSignHint = 'HintMsg' ,
|
||||||
|
|
||||||
LspDiagnosticsDefaultInformation = 'Info' ,
|
LspDiagnosticsUnderlineError = {style={'undercurl', color=red }},
|
||||||
LspDiagnosticsFloatingInformation = 'InfoMsg',
|
LspDiagnosticsUnderlineWarning = {style={'undercurl', color=pink }},
|
||||||
LspDiagnosticsSignInformation = 'InfoMsg',
|
LspDiagnosticsUnderlineInformation = {style={'undercurl', color=orange }},
|
||||||
|
LspDiagnosticsUnderlineHint = {style={'undercurl', color=purple }},
|
||||||
|
|
||||||
LspDiagnosticsUnderlineError = {style={'undercurl', color=red}},
|
LspDiagnosticsVirtualTextError = 'ErrorMsg' ,
|
||||||
LspDiagnosticsUnderlineHint = {style={'undercurl', color=purple}},
|
LspDiagnosticsVirtualTextWarning = 'WarningMsg' ,
|
||||||
LspDiagnosticsUnderlineInformation = {style={'undercurl', color=pink}},
|
LspDiagnosticsVirtualTextInformation = 'InfoMsg' ,
|
||||||
LspDiagnosticsUnderlineWarning = {style={'undercurl', color=red}},
|
LspDiagnosticsVirtualTextHint = 'HintMsg' ,
|
||||||
|
|
||||||
LspDiagnosticsVirtualTextError = {color=red},
|
|
||||||
LspDiagnosticsVirtualTextHint = {color=purple},
|
|
||||||
LspDiagnosticsVirtualTextInformation = {color=pink},
|
|
||||||
LspDiagnosticsVirtualTextWarning = {color=red},
|
|
||||||
|
|
||||||
--[[ 4.2.12. Cursor ]]
|
--[[ 4.2.12. Cursor ]]
|
||||||
Cursor = {bg=white, fg=black, style='inverse'},
|
Cursor = {bg=white, fg=black, style='inverse'},
|
||||||
|
|
Loading…
Reference in a new issue