diff options
author | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-03-19 16:43:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-19 16:43:28 +0100 |
commit | 62dda766bca0478243381518fa13628597fb9c6e (patch) | |
tree | 3826f9cd125c5dbc1a9cb088f2496b83f75de273 /templates | |
parent | 97f950100c4b289bf8bd8ccdfbac45a972790db7 (diff) | |
parent | 8ac39aed96e19024605bbe8aa2ef0734f56dfa08 (diff) |
Merge pull request #19 from BonaBeavis/rework
Add support for several new highlights and generally improve looks
Diffstat (limited to 'templates')
-rw-r--r-- | templates/default.mustache | 108 |
1 files changed, 81 insertions, 27 deletions
diff --git a/templates/default.mustache b/templates/default.mustache index 3e47202..4b3cdbc 100644 --- a/templates/default.mustache +++ b/templates/default.mustache @@ -204,7 +204,7 @@ call <sid>hi("Exception", s:gui08, "", s:cterm08, "", "", "") call <sid>hi("FoldColumn", s:gui0C, s:gui01, s:cterm0C, s:cterm01, "", "") call <sid>hi("Folded", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") call <sid>hi("IncSearch", s:gui01, s:gui09, s:cterm01, s:cterm09, "none", "") -call <sid>hi("Italic", "", "", "", "", "none", "") +call <sid>hi("Italic", "", "", "", "", "italic", "") call <sid>hi("Macro", s:gui08, "", s:cterm08, "", "", "") call <sid>hi("MatchParen", "", s:gui03, "", s:cterm03, "", "") call <sid>hi("ModeMsg", s:gui0B, "", s:cterm0B, "", "", "") @@ -221,20 +221,20 @@ call <sid>hi("WarningMsg", s:gui08, "", s:cterm08, "", "", "") call <sid>hi("WildMenu", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") call <sid>hi("Title", s:gui0D, "", s:cterm0D, "", "none", "") call <sid>hi("Conceal", s:gui0D, s:gui00, s:cterm0D, s:cterm00, "", "") -call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "", "") +call <sid>hi("Cursor", s:gui00, s:gui05, s:cterm00, s:cterm05, "inverse", "") call <sid>hi("NonText", s:gui03, "", s:cterm03, "", "", "") call <sid>hi("Whitespace", s:gui03, "", s:cterm03, "", "", "") -call <sid>hi("LineNr", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") -call <sid>hi("SignColumn", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") -call <sid>hi("StatusLine", s:gui04, s:gui02, s:cterm04, s:cterm02, "none", "") +call <sid>hi("LineNr", s:gui03, s:gui00, s:cterm03, s:cterm00, "", "") +call <sid>hi("SignColumn", s:gui03, s:gui00, s:cterm03, s:cterm00, "", "") +call <sid>hi("StatusLine", s:gui04, s:gui01, s:cterm04, s:cterm01, "none", "") call <sid>hi("StatusLineNC", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") -call <sid>hi("VertSplit", s:gui02, s:gui02, s:cterm02, s:cterm02, "none", "") +call <sid>hi("VertSplit", s:gui01, s:gui00, s:cterm01, s:cterm00, "none", "") call <sid>hi("ColorColumn", "", s:gui01, "", s:cterm01, "none", "") call <sid>hi("CursorColumn", "", s:gui01, "", s:cterm01, "none", "") call <sid>hi("CursorLine", "", s:gui01, "", s:cterm01, "none", "") call <sid>hi("CursorLineNr", s:gui04, s:gui01, s:cterm04, s:cterm01, "bold", "") call <sid>hi("QuickFixLine", "", s:gui01, "", s:cterm01, "none", "") -call <sid>hi("PMenu", s:gui05, s:gui01, s:cterm05, s:cterm01, "none", "") +call <sid>hi("PMenu", s:gui05, s:gui02, s:cterm05, s:cterm02, "none", "") call <sid>hi("PMenuSel", s:gui01, s:gui05, s:cterm01, s:cterm05, "", "") call <sid>hi("TabLine", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") call <sid>hi("TabLineFill", s:gui03, s:gui01, s:cterm03, s:cterm01, "none", "") @@ -255,7 +255,7 @@ call <sid>hi("Include", s:gui0D, "", s:cterm0D, "", "", "") call <sid>hi("Keyword", s:gui0E, "", s:cterm0E, "", "", "") call <sid>hi("Label", s:gui0A, "", s:cterm0A, "", "", "") call <sid>hi("Number", s:gui09, "", s:cterm09, "", "", "") -call <sid>hi("Operator", s:gui05, "", s:cterm05, "", "none", "") +call <sid>hi("Operator", s:gui0F, "", s:cterm0F, "", "none", "") call <sid>hi("PreProc", s:gui0A, "", s:cterm0A, "", "", "") call <sid>hi("Repeat", s:gui0A, "", s:cterm0A, "", "", "") call <sid>hi("Special", s:gui0C, "", s:cterm0C, "", "", "") @@ -269,6 +269,32 @@ call <sid>hi("Todo", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") call <sid>hi("Type", s:gui0A, "", s:cterm0A, "", "none", "") call <sid>hi("Typedef", s:gui0A, "", s:cterm0A, "", "", "") +" Standard highlights to be used by plugins +call <sid>hi("GitAddSign", s:gui0B, "", s:cterm0B, "", "", "") +call <sid>hi("GitChangeSign", s:gui04, "", s:cterm04, "", "", "") +call <sid>hi("GitDeleteSign", s:gui08, "", s:cterm08, "", "", "") +call <sid>hi("GitChangeDeleteSign", s:gui04, "", s:cterm04, "", "", "") + +call <sid>hi("ErrorSign", s:gui08, "", s:cterm08, "", "", "") +call <sid>hi("WarningSign", s:gui09, "", s:cterm09, "", "", "") +call <sid>hi("InfoSign", s:gui0D, "", s:cterm0D, "", "", "") +call <sid>hi("HintSign", s:gui0C, "", s:cterm0C, "", "", "") + +call <sid>hi("ErrorFloat", s:gui08, s:gui02, s:cterm08, s:cterm02, "", "") +call <sid>hi("WarningFloat", s:gui09, s:gui02, s:cterm09, s:cterm02, "", "") +call <sid>hi("InfoFloat", s:gui0D, s:gui02, s:cterm0D, s:cterm02, "", "") +call <sid>hi("HintFloat", s:gui0C, s:gui02, s:cterm0C, s:cterm02, "", "") + +call <sid>hi("ErrorHighlight", "", "", s:cterm00, s:cterm08, "underline", s:gui08) +call <sid>hi("WarningHighlight", "", "", s:cterm00, s:cterm09, "underline", s:gui09) +call <sid>hi("InfoHighlight", "", "", s:cterm00, s:cterm0D, "underline", s:gui0D) +call <sid>hi("HintHighlight", "", "", s:cterm00, s:cterm0C, "underline", s:gui0C) + +call <sid>hi("SpellBad", "", "", s:cterm00, s:cterm08, "undercurl", s:gui08) +call <sid>hi("SpellLocal", "", "", s:cterm00, s:cterm0C, "undercurl", s:gui0C) +call <sid>hi("SpellCap", "", "", s:cterm00, s:cterm0D, "undercurl", s:gui0D) +call <sid>hi("SpellRare", "", "", s:cterm00, s:cterm0E, "undercurl", s:gui0E) + " C highlighting call <sid>hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call <sid>hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -282,16 +308,46 @@ call <sid>hi("csUnspecifiedStatement", s:gui0D, "", s:cterm0D, "", "", "") call <sid>hi("csContextualStatement", s:gui0E, "", s:cterm0E, "", "", "") call <sid>hi("csNewDecleration", s:gui08, "", s:cterm08, "", "", "") +" Clap highlighting +hi default link ClapInput ColorColumn +hi default link ClapSpinner ColorColumn +hi default link ClapDisplay Default +hi default link ClapPreview ColorColumn +hi default link ClapCurrentSelection CursorLine +hi default link ClapNoMatchesFound ErrorFloat + +" Coc highlighting +hi default link CocErrorSign ErrorSign +hi default link CocWarningSign WarningSign +hi default link CocInfoSign InfoSign +hi default link CocHintSign HintSign + +hi default link CocErrorFloat ErrorFloat +hi default link CocWarningFloat WarningFloat +hi default link CocInfoFloat InfoFloat +hi default link CocHintFloat HintFloat + +hi default link CocErrorHighlight ErrorHighlight +hi default link CocWarningHighlight WarningHighlight +hi default link CocInfoHighlight InfoHighlight +hi default link CocHintHighlight HintHighlight +call <sid>hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") +call <sid>hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") +call <sid>hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") +call <sid>hi("CocListMode", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "bold", "") +call <sid>hi("CocListPath", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call <sid>hi("CocSessionsName", s:gui05, "", s:cterm05, "", "", "") + " CSS highlighting call <sid>hi("cssBraces", s:gui05, "", s:cterm05, "", "", "") call <sid>hi("cssClassName", s:gui0E, "", s:cterm0E, "", "", "") call <sid>hi("cssColor", s:gui0C, "", s:cterm0C, "", "", "") " Diff highlighting -call <sid>hi("DiffAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call <sid>hi("DiffChange", s:gui03, s:gui01, s:cterm03, s:cterm01, "", "") -call <sid>hi("DiffDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call <sid>hi("DiffText", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") +call <sid>hi("DiffAdd", s:gui0B, s:gui02, s:cterm0B, s:cterm02, "", "") +call <sid>hi("DiffChange", s:gui05, s:gui02, s:cterm05, s:cterm02, "", "") +call <sid>hi("DiffDelete", s:gui08, s:gui02, s:cterm08, s:cterm02, "", "") +call <sid>hi("DiffText", s:gui0D, s:gui02, s:cterm0D, s:cterm02, "", "") call <sid>hi("DiffAdded", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") call <sid>hi("DiffFile", s:gui08, s:gui00, s:cterm08, s:cterm00, "", "") call <sid>hi("DiffNewFile", s:gui0B, s:gui00, s:cterm0B, s:cterm00, "", "") @@ -316,14 +372,14 @@ call <sid>hi("gitcommitDiscardedFile", s:gui08, "", s:cterm08, "", "bold", "") call <sid>hi("gitcommitSelectedFile", s:gui0B, "", s:cterm0B, "", "bold", "") " GitGutter highlighting -call <sid>hi("GitGutterAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call <sid>hi("GitGutterChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call <sid>hi("GitGutterDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -call <sid>hi("GitGutterChangeDelete", s:gui0E, s:gui01, s:cterm0E, s:cterm01, "", "") +hi default link GitGutterAdd GitAddSign +hi default link GitGutterChange GitChangeSign +hi default link GitGutterDelete GitDeleteSign +hi default link GitGutterChangeDelete GitChangeDeleteSign " HTML highlighting -call <sid>hi("htmlBold", s:gui0A, "", s:cterm0A, "", "", "") -call <sid>hi("htmlItalic", s:gui0E, "", s:cterm0E, "", "", "") +call <sid>hi("htmlBold", s:gui05, "", s:cterm0A, "", "bold", "") +call <sid>hi("htmlItalic", s:gui05, "", s:cterm0E, "", "italic", "") call <sid>hi("htmlEndTag", s:gui05, "", s:cterm05, "", "", "") call <sid>hi("htmlTag", s:gui05, "", s:cterm05, "", "", "") @@ -396,15 +452,9 @@ call <sid>hi("sassMixing", s:gui0E, "", s:cterm0E, "", "", "") call <sid>hi("sassMixinName", s:gui0D, "", s:cterm0D, "", "", "") " Signify highlighting -call <sid>hi("SignifySignAdd", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") -call <sid>hi("SignifySignChange", s:gui0D, s:gui01, s:cterm0D, s:cterm01, "", "") -call <sid>hi("SignifySignDelete", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") - -" Spelling highlighting -call <sid>hi("SpellBad", s:gui00, s:gui08, s:cterm00, s:cterm08, "undercurl", s:gui08) -call <sid>hi("SpellLocal", s:gui00, s:gui0C, s:cterm00, s:cterm0C, "undercurl", s:gui0C) -call <sid>hi("SpellCap", s:gui00, s:gui0D, s:cterm00, s:cterm0D, "undercurl", s:gui0D) -call <sid>hi("SpellRare", s:gui00, s:gui0E, s:cterm00, s:cterm0E, "undercurl", s:gui0E) +hi default link SignifySignAdd GitAddSign +hi default link SignifySignChange GitChangeSign +hi default link SignifySignDelete GitDeleteSign " Startify highlighting call <sid>hi("StartifyBracket", s:gui03, "", s:cterm03, "", "", "") @@ -426,6 +476,10 @@ if has("nvim") call <sid>hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "") call <sid>hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "") call <sid>hi("TSType", s:gui08, "", s:cterm08, "", "none", "") + + " Treesitter-refactor highlighting + call <sid>hi("TSDefinition", "", s:gui03, "", s:cterm03, "", "") + call <sid>hi("TSDefinitionUsage", "", s:gui02, "", s:cterm02, "none", "") endif " LSP highlighting |