~dricottone/my-vim-colors

ref: a4003a877ee4ab2b1c9ace0ae714176a0b768ce7 my-vim-colors/colors/xml.vim -rw-r--r-- 4.8 KiB
a4003a87 — dricottone Adding ftplugins, TODO 5 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
" vim colorscheme file
" Minimal highlighting for all languages

set background=dark
hi clear
if exists("syntax on")
  syntax reset
endif
let g:colors_name = "xml"



" Suggested syntax groups
" https://neovim.io/doc/user/syntax.html#group-name

" any comment
hi Comment ctermfg=grey ctermbg=NONE

" any constant
hi Constant  ctermfg=NONE ctermbg=NONE
"hi String    ctermfg=NONE ctermbg=NONE
"hi Character ctermfg=NONE ctermbg=NONE
"hi Number    ctermfg=NONE ctermbg=NONE
"hi Boolean   ctermfg=NONE ctermbg=NONE
"hi Float     ctermfg=NONE ctermbg=NONE

" any variable name
hi Identifier ctermfg=NONE ctermbg=NONE
"hi Function   ctermfg=NONE ctermbg=NONE

" any statement
hi Statement   ctermfg=NONE ctermbg=NONE
"hi Conditional ctermfg=NONE ctermbg=NONE
"hi Repeat      ctermfg=NONE ctermbg=NONE
"hi Label       ctermfg=NONE ctermbg=NONE
"hi Operator    ctermfg=NONE ctermbg=NONE
"hi Keyword     ctermfg=NONE ctermbg=NONE
"hi Exception   ctermfg=NONE ctermbg=NONE

" generic Preprocessor
hi PreProc    ctermfg=NONE ctermbg=NONE
"hi Include    ctermfg=NONE ctermbg=NONE
"hi Define     ctermfg=NONE ctermbg=NONE
"hi Macro      ctermfg=NONE ctermbg=NONE
"hi PreCondit  ctermfg=NONE ctermbg=NONE

" int, long, char. etc.
hi Type         ctermfg=NONE ctermbg=NONE
"hi StorageClass ctermfg=NONE ctermbg=NONE
"hi Structure    ctermfg=NONE ctermbg=NONE
"hi Typedef      ctermfg=NONE ctermbg=NONE

" any special symbol
hi Special        ctermfg=NONE ctermbg=NONE
"hi SpecialChar    ctermfg=NONE ctermbg=NONE
"hi Tag            ctermfg=NONE ctermbg=NONE
"hi Delimiter      ctermfg=NONE ctermbg=NONE
"hi SpecialComment ctermfg=NONE ctermbg=NONE
"hi Debug          ctermfg=NONE ctermbg=NONE

" text that stands out, HTML links
hi Underlined ctermfg=NONE ctermbg=NONE

" left blank, hidden
hi Ignore ctermfg=NONE ctermbg=darkgrey

" any erroneous construct
hi Error ctermfg=white ctermbg=brown

" anything that needs extra attention
hi Todo ctermfg=white ctermbg=NONE



" Default highlighting groups
" https://neovim.io/doc/user/syntax.html#highlight-groups

" NOTE: No attributes for GUIs, tabs, or spellchecking

" text attributes
hi Normal       ctermfg=white    ctermbg=NONE
hi NormalNC     ctermfg=white    ctermbg=NONE
hi Whitespace   ctermfg=white    ctermbg=NONE
hi SpecialKey   ctermfg=brown    ctermbg=NONE
hi MatchParen   ctermfg=NONE     ctermbg=brown

" non-text attributes
hi NonText      ctermfg=brown    ctermbg=NONE
hi LineNr       ctermfg=brown    ctermbg=NONE
hi CursorLineNr ctermfg=yellow   ctermbg=NONE cterm=bold
hi EndOfBuffer  ctermfg=brown    ctermbg=NONE

" cursor attributes
hi Cursor       ctermfg=NONE     ctermbg=white
hi CursorIM     ctermfg=NONE     ctermbg=white
hi TermCursor   ctermfg=NONE     ctermbg=white
hi TermCursorNC ctermfg=NONE     ctermbg=grey
hi CursorColumn ctermfg=NONE     ctermbg=NONE
hi CursorLine   ctermfg=NONE     ctermbg=NONE

" statusline attributes
hi StatusLine   ctermfg=brown    ctermbg=NONE cterm=bold
hi StatusLineNC ctermfg=darkgrey ctermbg=NONE cterm=bold

" message attributes
hi Question     ctermfg=brown    ctermbg=NONE
hi ErrorMsg     ctermfg=white    ctermbg=brown
hi Title        ctermfg=brown    ctermbg=NONE
hi WarningMsg   ctermfg=white    ctermbg=brown
hi ModeMsg      ctermfg=white    ctermbg=brown
hi MsgArea      ctermfg=NONE     ctermbg=NONE
hi MsgSeparator ctermfg=NONE     ctermbg=NONE
hi MoreMsg      ctermfg=white    ctermbg=brown

" split attributes
hi VertSplit    ctermfg=black    ctermbg=brown cterm=NONE

" fold attrbutes
hi Folded       ctermfg=NONE     ctermfg=darkgrey
hi FoldColumn   ctermfg=NONE     ctermbg=NONE

" sign attributes
hi SignColumn   ctermfg=NONE     ctermbg=NONE

" wildmenu completion attributes
hi WildMenu     ctermfg=NONE     ctermbg=yellow

" search and `substitute` attributes
hi Search       ctermfg=NONE     ctermbg=NONE
hi IncSearch    ctermfg=NONE     ctermbg=NONE
hi Substitute   ctermfg=NONE     ctermbg=NONE

" `colorcolumn` attributes
hi ColorColumn  ctermfg=NONE     ctermbg=brown

" `conceallevel` attributes
hi Conceal      ctermfg=NONE     ctermbg=NONE

" netrw mode attributes
hi Directory    ctermfg=yellow   ctermbg=NONE

" diff mode attributes
hi DiffAdd      ctermfg=green    ctermbg=NONE
hi DiffChange   ctermfg=NONE     ctermbg=darkgrey
hi DiffText     ctermfg=NONE     ctermbg=darkgrey
hi DiffDelete   ctermfg=red      ctermbg=NONE

" visual mode attributes
hi Visual       ctermfg=NONE     ctermbg=darkgrey
hi VisualNOS    ctermfg=NONE     ctermbg=darkgrey



" Plugin groups

hi illuminatedWord ctermfg=NONE ctermbg=brown

hi xmlAttrib      ctermfg=grey   ctermbg=NONE
hi xmlAttribPunct ctermfg=grey   ctermbg=NONE
hi xmlEndTag      ctermfg=grey   ctermbg=NONE
hi xmlError       ctermfg=grey   ctermbg=NONE
hi xmlEqual       ctermfg=grey   ctermbg=NONE
hi xmlNamespace   ctermfg=grey   ctermbg=NONE
hi xmlString      ctermfg=grey   ctermbg=NONE
hi xmlTag         ctermfg=grey   ctermbg=NONE
hi xmlTagName     ctermfg=yellow ctermbg=NONE