mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 00:08:19 +00:00
refactor: define diagnostic highlights in syntax.c
This commit is contained in:
@@ -6217,6 +6217,26 @@ static const char *highlight_init_both[] = {
|
||||
"default link Delimiter Special",
|
||||
"default link SpecialComment Special",
|
||||
"default link Debug Special",
|
||||
"default DiagnosticError ctermfg=1 guifg=Red",
|
||||
"default DiagnosticWarn ctermfg=3 guifg=Orange",
|
||||
"default DiagnosticInfo ctermfg=4 guifg=LightBlue",
|
||||
"default DiagnosticHint ctermfg=7 guifg=LightGrey",
|
||||
"default DiagnosticUnderlineError cterm=underline gui=underline guisp=Red",
|
||||
"default DiagnosticUnderlineWarn cterm=underline gui=underline guisp=Orange",
|
||||
"default DiagnosticUnderlineInfo cterm=underline gui=underline guisp=LightBlue",
|
||||
"default DiagnosticUnderlineHint cterm=underline gui=underline guisp=LightGrey",
|
||||
"default link DiagnosticVirtualTextError DiagnosticError",
|
||||
"default link DiagnosticVirtualTextWarn DiagnosticWarn",
|
||||
"default link DiagnosticVirtualTextInfo DiagnosticInfo",
|
||||
"default link DiagnosticVirtualTextHint DiagnosticHint",
|
||||
"default link DiagnosticFloatingError DiagnosticError",
|
||||
"default link DiagnosticFloatingWarn DiagnosticWarn",
|
||||
"default link DiagnosticFloatingInfo DiagnosticInfo",
|
||||
"default link DiagnosticFloatingHint DiagnosticHint",
|
||||
"default link DiagnosticSignError DiagnosticError",
|
||||
"default link DiagnosticSignWarn DiagnosticWarn",
|
||||
"default link DiagnosticSignInfo DiagnosticInfo",
|
||||
"default link DiagnosticSignHint DiagnosticHint",
|
||||
NULL
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user