Add some colors to the default highlight groups

It adds/rewrites colors to some default highlights groups like ErrorMsg
or WarningMsg or Title. The intention is to cover all the default groups
before, maybe, trying to cover 'filetype' related groups.

It must be noted that the color named error and warning are used in the
interface, but, only to put the emphasize on warning or error messages.
This commit is contained in:
Ludovic Koenig
2019-03-01 10:03:20 +01:00
parent 8c873baa73
commit 90fa9bd577
+7 -7
View File
@@ -103,22 +103,22 @@ let s:colors.constant = s:hsv2hex(230, 45, 70)
call s:HL( 'SpecialKey', 'background', 'warning') call s:HL( 'SpecialKey', 'background', 'warning')
call s:HL( 'EndOfBuffer', 'background', 'linenumber') call s:HL( 'EndOfBuffer', 'background', 'linenumber')
call s:HL( 'NonText', 'background', 'linenumber') call s:HL( 'NonText', 'background', 'linenumber')
"call s:HL( 'Directory', 'background', 'linenumber') call s:HL( 'Directory', 'background', 'foreground')
call s:HL( 'ErrorMsg', 'background', 'linenumber') call s:HL( 'ErrorMsg', 'background', 'error')
"call s:HL( 'MoreMsg', 'background', 'linenumber') call s:HL( 'MoreMsg', 'background', 'warning')
"call s:HL( 'ModeMsg', 'background', 'linenumber') call s:HL( 'ModeMsg', 'background', 'warning')
call s:HL( 'IncSearch', 'foreground', 'background') call s:HL( 'IncSearch', 'foreground', 'background')
call s:HL( 'Search', 'linenumber', 'background') call s:HL( 'Search', 'linenumber', 'background')
call s:HL( 'LineNr', 'background', 'linenumber') call s:HL( 'LineNr', 'background', 'linenumber')
call s:HL('CursorLineNr', 'cursorline', 'foreground') call s:HL('CursorLineNr', 'cursorline', 'foreground')
"call s:HL( 'Question', 'background', 'linenumber') call s:HL( 'Question', 'background', 'warning')
call s:HL( 'StatusLine', 'cursorline', 'foreground') call s:HL( 'StatusLine', 'cursorline', 'foreground')
call s:HL('StatusLineNC', 'beyondback', 'linenumber') call s:HL('StatusLineNC', 'beyondback', 'linenumber')
call s:HL( 'VertSplit', 'beyondback', 'beyondback') call s:HL( 'VertSplit', 'beyondback', 'beyondback')
"call s:HL( 'Title', 'background', 'linenumber') call s:HL( 'Title', 'background', 'procedure')
"call s:HL( 'Visual', 'background', 'linenumber') "call s:HL( 'Visual', 'background', 'linenumber')
"call s:HL( 'VisualNOS', 'background', 'linenumber') "call s:HL( 'VisualNOS', 'background', 'linenumber')
"call s:HL( 'WarningMsg', 'background', 'linenumber') call s:HL( 'WarningMsg', 'background', 'warning')
"call s:HL( 'WildMenu', 'background', 'linenumber') "call s:HL( 'WildMenu', 'background', 'linenumber')
call s:HL( 'Folded', 'foldedline', 'linenumber') call s:HL( 'Folded', 'foldedline', 'linenumber')
call s:HL( 'FoldColumn', 'foldedline', 'linenumber') call s:HL( 'FoldColumn', 'foldedline', 'linenumber')