From bdfdef2a181890f96e03e7a72de3a991eb583fbd Mon Sep 17 00:00:00 2001 From: nbn22385 Date: Tue, 3 Aug 2021 06:32:08 -0400 Subject: Add Coc semantic token highlight groups (#25) * added mappings for CocSem highlight groups * use coc suggested highlight mappings * update groups based on recommended + custom * align columns * add additional clangd token types Co-authored-by: Nathan Novick --- templates/default.mustache | 51 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'templates/default.mustache') diff --git a/templates/default.mustache b/templates/default.mustache index d88aeba..b4c1e44 100644 --- a/templates/default.mustache +++ b/templates/default.mustache @@ -335,6 +335,57 @@ hi default link CocErrorHighlight ErrorHighlight hi default link CocWarningHighlight WarningHighlight hi default link CocInfoHighlight InfoHighlight hi default link CocHintHighlight HintHighlight + +hi default link CocSem_angle Keyword +hi default link CocSem_annotation Keyword +hi default link CocSem_attribute Type +hi default link CocSem_bitwise Keyword +hi default link CocSem_boolean Boolean +hi default link CocSem_brace Normal +hi default link CocSem_bracket Normal +hi default link CocSem_builtinAttribute Type +hi default link CocSem_builtinType Type +hi default link CocSem_character String +hi default link CocSem_class Structure +hi default link CocSem_colon Normal +hi default link CocSem_comma Normal +hi default link CocSem_comment Comment +hi default link CocSem_comparison Keyword +hi default link CocSem_concept Keyword +hi default link CocSem_constParameter Identifier +hi default link CocSem_dependent Keyword +hi default link CocSem_dot Keyword +hi default link CocSem_enum Structure +hi default link CocSem_enumMember Constant +hi default link CocSem_escapeSequence Type +hi default link CocSem_event Identifier +hi default link CocSem_formatSpecifier Type +hi default link CocSem_function Function +hi default link CocSem_interface Type +hi default link CocSem_keyword Keyword +hi default link CocSem_label Keyword +hi default link CocSem_logical Keyword +hi default link CocSem_macro Macro +hi default link CocSem_method Function +hi default link CocSem_modifier Keyword +hi default link CocSem_namespace Identifier +hi default link CocSem_number Number +hi default link CocSem_operator Operator +hi default link CocSem_parameter Identifier +hi default link CocSem_parenthesis Normal +hi default link CocSem_property Identifier +hi default link CocSem_punctuation Keyword +hi default link CocSem_regexp Type +hi default link CocSem_selfKeyword Constant +hi default link CocSem_semicolon Normal +hi default link CocSem_string String +hi default link CocSem_struct Structure +hi default link CocSem_type Type +hi default link CocSem_typeAlias Type +hi default link CocSem_typeParameter Type +hi default link CocSem_unknown Normal +hi default link CocSem_variable Identifier + call hi("CocHighlightRead", s:gui0B, s:gui01, s:cterm0B, s:cterm01, "", "") call hi("CocHighlightText", s:gui0A, s:gui01, s:cterm0A, s:cterm01, "", "") call hi("CocHighlightWrite", s:gui08, s:gui01, s:cterm08, s:cterm01, "", "") -- cgit v1.2.3