Mercurial > ec-dotfiles
annotate vendor/vim-colors/codedark.vim @ 709:0466907e566a
[vimrc] adjust configs
author | nanaya <me@nanaya.net> |
---|---|
date | Sun, 18 Dec 2022 22:46:25 +0900 |
parents | 1e0f578f6752 |
children |
rev | line source |
---|---|
662 | 1 " Vim Code Dark (color scheme) |
2 " https://github.com/tomasiser/vim-code-dark | |
3 | |
4 scriptencoding utf-8 | |
5 | |
6 set background=dark | |
7 hi clear | |
8 if exists("syntax_on") | |
9 syntax reset | |
10 endif | |
11 let g:colors_name="codedark" | |
12 | |
13 " Highlighting function (inspiration from https://github.com/chriskempson/base16-vim) | |
14 if &t_Co >= 256 | |
15 let g:codedark_term256=1 | |
16 elseif !exists("g:codedark_term256") | |
17 let g:codedark_term256=0 | |
18 endif | |
19 fun! <sid>hi(group, fg, bg, attr, sp) | |
20 if !empty(a:fg) | |
21 exec "hi " . a:group . " guifg=" . a:fg.gui . " ctermfg=" . (g:codedark_term256 ? a:fg.cterm256 : a:fg.cterm) | |
22 endif | |
23 if !empty(a:bg) | |
24 exec "hi " . a:group . " guibg=" . a:bg.gui . " ctermbg=" . (g:codedark_term256 ? a:bg.cterm256 : a:bg.cterm) | |
25 endif | |
26 if a:attr != "" | |
27 exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr | |
28 endif | |
29 if !empty(a:sp) | |
30 exec "hi " . a:group . " guisp=" . a:sp.gui | |
31 endif | |
32 endfun | |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
33 " Choose old or new name for Treesitter groups depending on Neovim version |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
34 fun! <sid>hiTS(g_new, g_old, fg, bg, attr, sp) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
35 call <sid>hi(has("nvim-0.8.0")? a:g_new : a:g_old, a:fg, a:bg, a:attr, a:sp) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
36 endfun |
662 | 37 |
38 " ------------------ | |
39 " Color definitions: | |
40 " ------------------ | |
41 | |
42 " Terminal colors (base16): | |
43 let s:cterm00 = "00" | |
44 let s:cterm03 = "08" | |
45 let s:cterm05 = "07" | |
46 let s:cterm07 = "15" | |
47 let s:cterm08 = "01" | |
48 let s:cterm0A = "03" | |
49 let s:cterm0B = "02" | |
50 let s:cterm0C = "06" | |
51 let s:cterm0D = "04" | |
52 let s:cterm0E = "05" | |
53 if exists('base16colorspace') && base16colorspace == "256" | |
54 let s:cterm01 = "18" | |
55 let s:cterm02 = "19" | |
56 let s:cterm04 = "20" | |
57 let s:cterm06 = "21" | |
58 let s:cterm09 = "16" | |
59 let s:cterm0F = "17" | |
60 else | |
61 let s:cterm01 = "00" | |
62 let s:cterm02 = "08" | |
63 let s:cterm04 = "07" | |
64 let s:cterm06 = "07" | |
65 let s:cterm09 = "06" | |
66 let s:cterm0F = "03" | |
67 endif | |
68 | |
69 " General appearance colors: | |
70 " (some of them may be unused) | |
71 | |
688 | 72 " Transparent background |
73 if !exists("g:codedark_transparent") | |
74 let g:codedark_transparent=0 | |
75 endif | |
76 | |
662 | 77 let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} |
78 let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'} | |
79 let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} | |
688 | 80 if g:codedark_transparent | let s:cdBack = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} | endif |
662 | 81 |
82 let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} | |
83 let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'} | |
84 let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} | |
85 | |
86 let s:cdLeftDark = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} | |
87 let s:cdLeftMid = {'gui': '#373737', 'cterm': s:cterm03, 'cterm256': '237'} | |
88 let s:cdLeftLight = {'gui': '#3F3F46', 'cterm': s:cterm03, 'cterm256': '238'} | |
89 | |
90 let s:cdPopupFront = {'gui': '#BBBBBB', 'cterm': s:cterm06, 'cterm256': '250'} | |
91 let s:cdPopupBack = {'gui': '#2D2D30', 'cterm': s:cterm01, 'cterm256': '236'} | |
92 let s:cdPopupHighlightBlue = {'gui': '#073655', 'cterm': s:cterm0D, 'cterm256': '24'} | |
93 let s:cdPopupHighlightGray = {'gui': '#3D3D40', 'cterm': s:cterm03, 'cterm256': '237'} | |
94 | |
95 let s:cdSplitLight = {'gui': '#898989', 'cterm': s:cterm04, 'cterm256': '245'} | |
96 let s:cdSplitDark = {'gui': '#444444', 'cterm': s:cterm03, 'cterm256': '238'} | |
97 let s:cdSplitThumb = {'gui': '#424242', 'cterm': s:cterm04, 'cterm256': '238'} | |
98 | |
99 let s:cdCursorDarkDark = {'gui': '#222222', 'cterm': s:cterm01, 'cterm256': '235'} | |
100 let s:cdCursorDark = {'gui': '#51504F', 'cterm': s:cterm03, 'cterm256': '239'} | |
101 let s:cdCursorLight = {'gui': '#AEAFAD', 'cterm': s:cterm04, 'cterm256': '145'} | |
102 let s:cdSelection = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} | |
103 let s:cdLineNumber = {'gui': '#5A5A5A', 'cterm': s:cterm04, 'cterm256': '240'} | |
104 | |
105 let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'} | |
106 let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'} | |
107 let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'} | |
108 let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'} | |
109 let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} | |
688 | 110 let s:cdDiffBlueLight = {'gui': '#87d7ff', 'cterm': s:cterm0C, 'cterm256': '117'} |
111 let s:cdDiffBlue = {'gui': '#005f87', 'cterm': s:cterm0D, 'cterm256': '24'} | |
662 | 112 |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
113 let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} |
662 | 114 let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} |
115 | |
116 " Syntax colors: | |
117 | |
118 if !exists("g:codedark_conservative") | |
119 let g:codedark_conservative=0 | |
120 endif | |
121 | |
673 | 122 " Italicized comments |
123 if !exists("g:codedark_italics") | |
124 let g:codedark_italics=0 | |
125 endif | |
126 | |
662 | 127 let s:cdGray = {'gui': '#808080', 'cterm': s:cterm04, 'cterm256': '08'} |
128 let s:cdViolet = {'gui': '#646695', 'cterm': s:cterm04, 'cterm256': '60'} | |
129 let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'} | |
130 let s:cdDarkBlue = {'gui': '#223E55', 'cterm': s:cterm0D, 'cterm256': '73'} | |
131 let s:cdLightBlue = {'gui': '#9CDCFE', 'cterm': s:cterm0C, 'cterm256': '117'} | |
132 if g:codedark_conservative | let s:cdLightBlue = s:cdFront | endif | |
133 let s:cdGreen = {'gui': '#6A9955', 'cterm': s:cterm0B, 'cterm256': '65'} | |
134 let s:cdBlueGreen = {'gui': '#4EC9B0', 'cterm': s:cterm0F, 'cterm256': '43'} | |
135 let s:cdLightGreen = {'gui': '#B5CEA8', 'cterm': s:cterm09, 'cterm256': '151'} | |
136 let s:cdRed = {'gui': '#F44747', 'cterm': s:cterm08, 'cterm256': '203'} | |
137 let s:cdOrange = {'gui': '#CE9178', 'cterm': s:cterm0F, 'cterm256': '173'} | |
138 let s:cdLightRed = {'gui': '#D16969', 'cterm': s:cterm08, 'cterm256': '167'} | |
139 if g:codedark_conservative | let s:cdLightRed = s:cdOrange | endif | |
140 let s:cdYellowOrange = {'gui': '#D7BA7D', 'cterm': s:cterm0A, 'cterm256': '179'} | |
141 let s:cdYellow = {'gui': '#DCDCAA', 'cterm': s:cterm0A, 'cterm256': '187'} | |
142 if g:codedark_conservative | let s:cdYellow = s:cdFront | endif | |
143 let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'} | |
144 if g:codedark_conservative | let s:cdPink = s:cdBlue | endif | |
673 | 145 let s:cdSilver = {'gui': '#C0C0C0', 'cterm': s:cterm05, 'cterm256': '7'} |
662 | 146 |
147 " Vim editor colors | |
148 " <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL) | |
149 call <sid>hi('Normal', s:cdFront, s:cdBack, 'none', {}) | |
150 call <sid>hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {}) | |
151 call <sid>hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {}) | |
152 call <sid>hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {}) | |
153 call <sid>hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {}) | |
688 | 154 call <sid>hi('Directory', s:cdBlue, s:cdNone, 'none', {}) |
155 call <sid>hi('DiffAdd', s:cdFront, s:cdDiffGreenLight, 'none', {}) | |
156 call <sid>hi('DiffChange', s:cdFront, s:cdDiffBlue, 'none', {}) | |
157 call <sid>hi('DiffDelete', s:cdFront, s:cdDiffRedLight, 'none', {}) | |
158 call <sid>hi('DiffText', s:cdBack, s:cdDiffBlueLight, 'none', {}) | |
662 | 159 call <sid>hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {}) |
160 call <sid>hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {}) | |
161 call <sid>hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {}) | |
162 call <sid>hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {}) | |
163 call <sid>hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {}) | |
164 call <sid>hi('SignColumn', {}, s:cdBack, 'none', {}) | |
165 call <sid>hi('IncSearch', s:cdNone, s:cdSearchCurrent, 'none', {}) | |
166 call <sid>hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {}) | |
167 call <sid>hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {}) | |
168 call <sid>hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {}) | |
169 call <sid>hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {}) | |
170 call <sid>hi('MoreMsg', s:cdFront, s:cdLeftDark, 'none', {}) | |
688 | 171 call <sid>hi('NonText', s:cdLineNumber, s:cdNone, 'none', {}) |
662 | 172 call <sid>hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {}) |
173 call <sid>hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {}) | |
174 call <sid>hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {}) | |
175 call <sid>hi('PmenuThumb', {}, s:cdPopupFront, 'none', {}) | |
176 call <sid>hi('Question', s:cdBlue, s:cdBack, 'none', {}) | |
177 call <sid>hi('Search', s:cdNone, s:cdSearch, 'none', {}) | |
178 call <sid>hi('SpecialKey', s:cdBlue, s:cdNone, 'none', {}) | |
179 call <sid>hi('StatusLine', s:cdFront, s:cdLeftMid, 'none', {}) | |
180 call <sid>hi('StatusLineNC', s:cdFront, s:cdLeftDark, 'none', {}) | |
181 call <sid>hi('TabLine', s:cdFront, s:cdTabOther, 'none', {}) | |
182 call <sid>hi('TabLineFill', s:cdFront, s:cdTabOutside, 'none', {}) | |
183 call <sid>hi('TabLineSel', s:cdFront, s:cdTabCurrent, 'none', {}) | |
184 call <sid>hi('Title', s:cdNone, s:cdNone, 'bold', {}) | |
185 call <sid>hi('Visual', s:cdNone, s:cdSelection, 'none', {}) | |
186 call <sid>hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {}) | |
187 call <sid>hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {}) | |
188 call <sid>hi('WildMenu', s:cdNone, s:cdSelection, 'none', {}) | |
688 | 189 call <sid>hi('netrwMarkFile', s:cdFront, s:cdSelection, 'none', {}) |
662 | 190 |
191 " Legacy groups for official git.vim and diff.vim syntax | |
192 hi! link diffAdded DiffAdd | |
193 hi! link diffChanged DiffChange | |
194 hi! link diffRemoved DiffDelete | |
195 | |
673 | 196 if g:codedark_italics | call <sid>hi('Comment', s:cdGreen, {}, 'italic', {}) | else | call <sid>hi('Comment', s:cdGreen, {}, 'none', {}) | endif |
662 | 197 |
198 call <sid>hi('Constant', s:cdBlue, {}, 'none', {}) | |
199 call <sid>hi('String', s:cdOrange, {}, 'none', {}) | |
200 call <sid>hi('Character', s:cdOrange, {}, 'none', {}) | |
201 call <sid>hi('Number', s:cdLightGreen, {}, 'none', {}) | |
202 call <sid>hi('Boolean', s:cdBlue, {}, 'none', {}) | |
203 call <sid>hi('Float', s:cdLightGreen, {}, 'none', {}) | |
204 | |
205 call <sid>hi('Identifier', s:cdLightBlue, {}, 'none', {}) | |
206 call <sid>hi('Function', s:cdYellow, {}, 'none', {}) | |
207 | |
208 call <sid>hi('Statement', s:cdPink, {}, 'none', {}) | |
209 call <sid>hi('Conditional', s:cdPink, {}, 'none', {}) | |
210 call <sid>hi('Repeat', s:cdPink, {}, 'none', {}) | |
211 call <sid>hi('Label', s:cdPink, {}, 'none', {}) | |
212 call <sid>hi('Operator', s:cdFront, {}, 'none', {}) | |
213 call <sid>hi('Keyword', s:cdPink, {}, 'none', {}) | |
214 call <sid>hi('Exception', s:cdPink, {}, 'none', {}) | |
215 | |
216 call <sid>hi('PreProc', s:cdPink, {}, 'none', {}) | |
217 call <sid>hi('Include', s:cdPink, {}, 'none', {}) | |
218 call <sid>hi('Define', s:cdPink, {}, 'none', {}) | |
219 call <sid>hi('Macro', s:cdPink, {}, 'none', {}) | |
220 call <sid>hi('PreCondit', s:cdPink, {}, 'none', {}) | |
221 | |
222 call <sid>hi('Type', s:cdBlue, {}, 'none', {}) | |
223 call <sid>hi('StorageClass', s:cdBlue, {}, 'none', {}) | |
224 call <sid>hi('Structure', s:cdBlue, {}, 'none', {}) | |
225 call <sid>hi('Typedef', s:cdBlue, {}, 'none', {}) | |
226 | |
227 call <sid>hi('Special', s:cdYellowOrange, {}, 'none', {}) | |
228 call <sid>hi('SpecialChar', s:cdFront, {}, 'none', {}) | |
229 call <sid>hi('Tag', s:cdFront, {}, 'none', {}) | |
230 call <sid>hi('Delimiter', s:cdFront, {}, 'none', {}) | |
673 | 231 if g:codedark_italics | call <sid>hi('SpecialComment', s:cdGreen, {}, 'italic', {}) | else | call <sid>hi('SpecialComment', s:cdGreen, {}, 'none', {}) | endif |
662 | 232 call <sid>hi('Debug', s:cdFront, {}, 'none', {}) |
233 | |
234 call <sid>hi('Underlined', s:cdNone, {}, 'underline', {}) | |
235 call <sid>hi("Conceal", s:cdFront, s:cdBack, 'none', {}) | |
236 | |
688 | 237 call <sid>hi('Ignore', s:cdBack, {}, 'none', {}) |
662 | 238 |
239 call <sid>hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
240 | |
241 call <sid>hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) | |
242 | |
243 call <sid>hi('SpellBad', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
244 call <sid>hi('SpellCap', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
245 call <sid>hi('SpellRare', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
246 call <sid>hi('SpellLocal', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
247 | |
248 | |
249 " Neovim Treesitter: | |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
250 call <sid>hiTS('@error', 'TSError', s:cdRed, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
251 call <sid>hiTS('@punctuation.delimiter', 'TSPunctDelimiter', s:cdFront, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
252 call <sid>hiTS('@punctuation.bracket', 'TSPunctBracket', s:cdFront, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
253 call <sid>hiTS('@punctuation.special', 'TSPunctSpecial', s:cdFront, {}, 'none', {}) |
662 | 254 " Constant |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
255 call <sid>hiTS('@constant', 'TSConstant', s:cdYellow, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
256 call <sid>hiTS('@constant.builtin', 'TSConstBuiltin', s:cdBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
257 call <sid>hiTS('@constant.macro', 'TSConstMacro', s:cdBlueGreen, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
258 call <sid>hiTS('@string.regex', 'TSStringRegex', s:cdOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
259 call <sid>hiTS('@string', 'TSString', s:cdOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
260 call <sid>hiTS('@string.escape', 'TSStringEscape', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
261 call <sid>hiTS('@character', 'TSCharacter', s:cdOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
262 call <sid>hiTS('@number', 'TSNumber', s:cdLightGreen, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
263 call <sid>hiTS('@boolean', 'TSBoolean', s:cdBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
264 call <sid>hiTS('@float', 'TSFloat', s:cdLightGreen, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
265 call <sid>hiTS('@annotation', 'TSAnnotation', s:cdYellow, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
266 call <sid>hiTS('@attribute', 'TSAttribute', s:cdBlueGreen, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
267 call <sid>hiTS('@namespace', 'TSNamespace', s:cdBlueGreen, {}, 'none', {}) |
662 | 268 " Functions |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
269 call <sid>hiTS('@function.builtin', 'TSFuncBuiltin', s:cdYellow, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
270 call <sid>hiTS('@function', 'TSFunction', s:cdYellow, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
271 call <sid>hiTS('@function.macro', 'TSFuncMacro', s:cdYellow, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
272 call <sid>hiTS('@parameter', 'TSParameter', s:cdLightBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
273 call <sid>hiTS('@parameter.reference', 'TSParameterReference', s:cdLightBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
274 call <sid>hiTS('@method', 'TSMethod', s:cdYellow, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
275 call <sid>hiTS('@field', 'TSField', s:cdLightBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
276 call <sid>hiTS('@property', 'TSProperty', s:cdLightBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
277 call <sid>hiTS('@constructor', 'TSConstructor', s:cdBlueGreen, {}, 'none', {}) |
662 | 278 " Keywords |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
279 call <sid>hiTS('@conditional', 'TSConditional', s:cdPink, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
280 call <sid>hiTS('@repeat', 'TSRepeat', s:cdPink, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
281 call <sid>hiTS('@label', 'TSLabel', s:cdLightBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
282 call <sid>hiTS('@keyword', 'TSKeyword', s:cdBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
283 call <sid>hiTS('@keyword.function', 'TSKeywordFunction', s:cdBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
284 call <sid>hiTS('@keyword.operator', 'TSKeywordOperator', s:cdBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
285 call <sid>hiTS('@operator', 'TSOperator', s:cdFront, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
286 call <sid>hiTS('@exception', 'TSException', s:cdPink, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
287 call <sid>hiTS('@type', 'TSType', s:cdBlueGreen, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
288 call <sid>hiTS('@type.builtin', 'TSTypeBuiltin', s:cdBlue, {}, 'none', {}) |
662 | 289 call <sid>hi('TSStructure', s:cdLightBlue, {}, 'none', {}) |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
290 call <sid>hiTS('@include', 'TSInclude', s:cdPink, {}, 'none', {}) |
662 | 291 " Variable |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
292 call <sid>hiTS('@variable', 'TSVariable', s:cdLightBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
293 call <sid>hiTS('@variable.builtin', 'TSVariableBuiltin', s:cdLightBlue, {}, 'none', {}) |
662 | 294 " Text |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
295 call <sid>hiTS('@text', 'TSText', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
296 call <sid>hiTS('@text.strong', 'TSStrong', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
297 call <sid>hiTS('@text.emphasis', 'TSEmphasis', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
298 call <sid>hiTS('@text.underline', 'TSUnderline', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
299 call <sid>hiTS('@text.title', 'TSTitle', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
300 call <sid>hiTS('@text.literal', 'TSLiteral', s:cdYellowOrange, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
301 call <sid>hiTS('@text.uri', 'TSURI', s:cdYellowOrange, {}, 'none', {}) |
662 | 302 " Tags |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
303 call <sid>hiTS('@tag', 'TSTag', s:cdBlue, {}, 'none', {}) |
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
304 call <sid>hiTS('@tag.delimiter', 'TSTagDelimiter', s:cdGray, {}, 'none', {}) |
662 | 305 |
306 " Markdown: | |
688 | 307 call <sid>hi('markdownH1', s:cdBlue, {}, 'bold', {}) |
308 call <sid>hi('markdownH2', s:cdBlue, {}, 'bold', {}) | |
309 call <sid>hi('markdownH3', s:cdBlue, {}, 'bold', {}) | |
310 call <sid>hi('markdownH4', s:cdBlue, {}, 'bold', {}) | |
311 call <sid>hi('markdownH5', s:cdBlue, {}, 'bold', {}) | |
312 call <sid>hi('markdownH6', s:cdBlue, {}, 'bold', {}) | |
662 | 313 call <sid>hi('markdownBold', s:cdBlue, {}, 'bold', {}) |
314 call <sid>hi('markdownCode', s:cdOrange, {}, 'none', {}) | |
315 call <sid>hi('markdownRule', s:cdBlue, {}, 'bold', {}) | |
316 call <sid>hi('markdownCodeDelimiter', s:cdOrange, {}, 'none', {}) | |
317 call <sid>hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {}) | |
318 call <sid>hi('markdownFootnote', s:cdOrange, {}, 'none', {}) | |
319 call <sid>hi('markdownFootnoteDefinition', s:cdOrange, {}, 'none', {}) | |
320 call <sid>hi('markdownUrl', s:cdLightBlue, {}, 'underline', {}) | |
321 call <sid>hi('markdownLinkText', s:cdOrange, {}, 'none', {}) | |
322 call <sid>hi('markdownEscape', s:cdYellowOrange, {}, 'none', {}) | |
323 | |
324 " Asciidoc (for default syntax highlighting) | |
325 call <sid>hi("asciidocAttributeEntry", s:cdYellowOrange, {}, 'none', {}) | |
326 call <sid>hi("asciidocAttributeList", s:cdPink, {}, 'none', {}) | |
327 call <sid>hi("asciidocAttributeRef", s:cdYellowOrange, {}, 'none', {}) | |
328 call <sid>hi("asciidocHLabel", s:cdBlue, {}, 'bold', {}) | |
329 call <sid>hi("asciidocListingBlock", s:cdOrange, {}, 'none', {}) | |
330 call <sid>hi("asciidocMacroAttributes", s:cdYellowOrange, {}, 'none', {}) | |
331 call <sid>hi("asciidocOneLineTitle", s:cdBlue, {}, 'bold', {}) | |
332 call <sid>hi("asciidocPassthroughBlock", s:cdBlue, {}, 'none', {}) | |
333 call <sid>hi("asciidocQuotedMonospaced", s:cdOrange, {}, 'none', {}) | |
334 call <sid>hi("asciidocTriplePlusPassthrough", s:cdYellow, {}, 'none', {}) | |
335 call <sid>hi("asciidocMacro", s:cdPink, {}, 'none', {}) | |
336 call <sid>hi("asciidocAdmonition", s:cdOrange, {}, 'none', {}) | |
337 call <sid>hi("asciidocQuotedEmphasized", s:cdBlue, {}, 'italic', {}) | |
338 call <sid>hi("asciidocQuotedEmphasized2", s:cdBlue, {}, 'italic', {}) | |
339 call <sid>hi("asciidocQuotedEmphasizedItalic", s:cdBlue, {}, 'italic', {}) | |
340 hi! link asciidocBackslash Keyword | |
341 hi! link asciidocQuotedBold markdownBold | |
342 hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced | |
343 hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold | |
344 hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized | |
345 hi! link asciidocURL markdownUrl | |
346 | |
347 " JSON: | |
348 call <sid>hi('jsonKeyword', s:cdLightBlue, {}, 'none', {}) | |
349 call <sid>hi('jsonEscape', s:cdYellowOrange, {}, 'none', {}) | |
350 call <sid>hi('jsonNull', s:cdBlue, {}, 'none', {}) | |
351 call <sid>hi('jsonBoolean', s:cdBlue, {}, 'none', {}) | |
352 | |
353 " HTML: | |
354 call <sid>hi('htmlTag', s:cdGray, {}, 'none', {}) | |
355 call <sid>hi('htmlEndTag', s:cdGray, {}, 'none', {}) | |
356 call <sid>hi('htmlTagName', s:cdBlue, {}, 'none', {}) | |
357 call <sid>hi('htmlSpecialTagName', s:cdBlue, {}, 'none', {}) | |
358 call <sid>hi('htmlArg', s:cdLightBlue, {}, 'none', {}) | |
359 | |
360 " PHP: | |
361 call <sid>hi('phpStaticClasses', s:cdBlueGreen, {}, 'none', {}) | |
362 call <sid>hi('phpMethod', s:cdYellow, {}, 'none', {}) | |
363 call <sid>hi('phpClass', s:cdBlueGreen, {}, 'none', {}) | |
364 call <sid>hi('phpFunction', s:cdYellow, {}, 'none', {}) | |
365 call <sid>hi('phpInclude', s:cdBlue, {}, 'none', {}) | |
366 call <sid>hi('phpUseClass', s:cdBlueGreen, {}, 'none', {}) | |
367 call <sid>hi('phpRegion', s:cdBlueGreen, {}, 'none', {}) | |
368 call <sid>hi('phpMethodsVar', s:cdLightBlue, {}, 'none', {}) | |
369 | |
370 " CSS: | |
371 call <sid>hi('cssBraces', s:cdFront, {}, 'none', {}) | |
372 call <sid>hi('cssInclude', s:cdPink, {}, 'none', {}) | |
373 call <sid>hi('cssTagName', s:cdYellowOrange, {}, 'none', {}) | |
374 call <sid>hi('cssClassName', s:cdYellowOrange, {}, 'none', {}) | |
375 call <sid>hi('cssPseudoClass', s:cdYellowOrange, {}, 'none', {}) | |
376 call <sid>hi('cssPseudoClassId', s:cdYellowOrange, {}, 'none', {}) | |
377 call <sid>hi('cssPseudoClassLang', s:cdYellowOrange, {}, 'none', {}) | |
378 call <sid>hi('cssIdentifier', s:cdYellowOrange, {}, 'none', {}) | |
379 call <sid>hi('cssProp', s:cdLightBlue, {}, 'none', {}) | |
380 call <sid>hi('cssDefinition', s:cdLightBlue, {}, 'none', {}) | |
381 call <sid>hi('cssAttr', s:cdOrange, {}, 'none', {}) | |
382 call <sid>hi('cssAttrRegion', s:cdOrange, {}, 'none', {}) | |
383 call <sid>hi('cssColor', s:cdOrange, {}, 'none', {}) | |
384 call <sid>hi('cssFunction', s:cdOrange, {}, 'none', {}) | |
385 call <sid>hi('cssFunctionName', s:cdOrange, {}, 'none', {}) | |
386 call <sid>hi('cssVendor', s:cdOrange, {}, 'none', {}) | |
387 call <sid>hi('cssValueNumber', s:cdOrange, {}, 'none', {}) | |
388 call <sid>hi('cssValueLength', s:cdOrange, {}, 'none', {}) | |
389 call <sid>hi('cssUnitDecorators', s:cdOrange, {}, 'none', {}) | |
390 call <sid>hi('cssStyle', s:cdLightBlue, {}, 'none', {}) | |
391 call <sid>hi('cssImportant', s:cdBlue, {}, 'none', {}) | |
392 | |
393 " JavaScript: | |
394 call <sid>hi('jsVariableDef', s:cdLightBlue, {}, 'none', {}) | |
395 call <sid>hi('jsFuncArgs', s:cdLightBlue, {}, 'none', {}) | |
396 call <sid>hi('jsFuncBlock', s:cdLightBlue, {}, 'none', {}) | |
397 call <sid>hi('jsRegexpString', s:cdLightRed, {}, 'none', {}) | |
398 call <sid>hi('jsThis', s:cdBlue, {}, 'none', {}) | |
399 call <sid>hi('jsOperatorKeyword', s:cdBlue, {}, 'none', {}) | |
400 call <sid>hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {}) | |
401 call <sid>hi('jsObjectKey', s:cdLightBlue, {}, 'none', {}) | |
402 call <sid>hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {}) | |
403 call <sid>hi('jsModuleKeyword', s:cdLightBlue, {}, 'none', {}) | |
404 call <sid>hi('jsClassDefinition', s:cdBlueGreen, {}, 'none', {}) | |
405 call <sid>hi('jsClassKeyword', s:cdBlue, {}, 'none', {}) | |
406 call <sid>hi('jsExtendsKeyword', s:cdBlue, {}, 'none', {}) | |
407 call <sid>hi('jsExportDefault', s:cdPink, {}, 'none', {}) | |
408 call <sid>hi('jsFuncCall', s:cdYellow, {}, 'none', {}) | |
409 call <sid>hi('jsObjectValue', s:cdLightBlue, {}, 'none', {}) | |
410 call <sid>hi('jsParen', s:cdLightBlue, {}, 'none', {}) | |
411 call <sid>hi('jsObjectProp', s:cdLightBlue, {}, 'none', {}) | |
412 call <sid>hi('jsIfElseBlock', s:cdLightBlue, {}, 'none', {}) | |
413 call <sid>hi('jsParenIfElse', s:cdLightBlue, {}, 'none', {}) | |
414 call <sid>hi('jsSpreadOperator', s:cdLightBlue, {}, 'none', {}) | |
415 call <sid>hi('jsSpreadExpression', s:cdLightBlue, {}, 'none', {}) | |
416 | |
417 " Typescript: | |
418 call <sid>hi('typescriptLabel', s:cdLightBlue, {}, 'none', {}) | |
419 call <sid>hi('typescriptExceptions', s:cdLightBlue, {}, 'none', {}) | |
420 call <sid>hi('typescriptBraces', s:cdFront, {}, 'none', {}) | |
421 call <sid>hi('typescriptEndColons', s:cdLightBlue, {}, 'none', {}) | |
422 call <sid>hi('typescriptParens', s:cdFront, {}, 'none', {}) | |
423 call <sid>hi('typescriptDocTags', s:cdBlue, {}, 'none', {}) | |
424 call <sid>hi('typescriptDocComment', s:cdBlueGreen, {}, 'none', {}) | |
425 call <sid>hi('typescriptLogicSymbols', s:cdLightBlue, {}, 'none', {}) | |
426 call <sid>hi('typescriptImport', s:cdPink, {}, 'none', {}) | |
427 call <sid>hi('typescriptBOM', s:cdLightBlue, {}, 'none', {}) | |
428 call <sid>hi('typescriptVariableDeclaration', s:cdLightBlue, {}, 'none', {}) | |
429 call <sid>hi('typescriptVariable', s:cdBlue, {}, 'none', {}) | |
430 call <sid>hi('typescriptExport', s:cdPink, {}, 'none', {}) | |
431 call <sid>hi('typescriptAliasDeclaration', s:cdBlueGreen, {}, 'none', {}) | |
432 call <sid>hi('typescriptAliasKeyword', s:cdBlue, {}, 'none', {}) | |
433 call <sid>hi('typescriptClassName', s:cdBlueGreen, {}, 'none', {}) | |
434 call <sid>hi('typescriptAccessibilityModifier', s:cdBlue, {}, 'none', {}) | |
435 call <sid>hi('typescriptOperator', s:cdBlue, {}, 'none', {}) | |
436 call <sid>hi('typescriptArrowFunc', s:cdBlue, {}, 'none', {}) | |
437 call <sid>hi('typescriptMethodAccessor', s:cdBlue, {}, 'none', {}) | |
438 call <sid>hi('typescriptMember', s:cdYellow, {}, 'none', {}) | |
439 call <sid>hi('typescriptTypeReference', s:cdBlueGreen, {}, 'none', {}) | |
440 call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) | |
441 call <sid>hi('typescriptTemplateSB', s:cdYellowOrange, {}, 'none', {}) | |
442 call <sid>hi('typescriptArrowFuncArg', s:cdLightBlue, {}, 'none', {}) | |
443 call <sid>hi('typescriptParamImpl', s:cdLightBlue, {}, 'none', {}) | |
444 call <sid>hi('typescriptFuncComma', s:cdLightBlue, {}, 'none', {}) | |
445 call <sid>hi('typescriptCastKeyword', s:cdLightBlue, {}, 'none', {}) | |
446 call <sid>hi('typescriptCall', s:cdBlue, {}, 'none', {}) | |
447 call <sid>hi('typescriptCase', s:cdLightBlue, {}, 'none', {}) | |
448 call <sid>hi('typescriptReserved', s:cdPink, {}, 'none', {}) | |
449 call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) | |
450 call <sid>hi('typescriptDecorator', s:cdYellow, {}, 'none', {}) | |
451 call <sid>hi('typescriptPredefinedType', s:cdBlueGreen, {}, 'none', {}) | |
452 call <sid>hi('typescriptClassHeritage', s:cdBlueGreen, {}, 'none', {}) | |
453 call <sid>hi('typescriptClassExtends', s:cdBlue, {}, 'none', {}) | |
454 call <sid>hi('typescriptClassKeyword', s:cdBlue, {}, 'none', {}) | |
455 call <sid>hi('typescriptBlock', s:cdLightBlue, {}, 'none', {}) | |
456 call <sid>hi('typescriptDOMDocProp', s:cdLightBlue, {}, 'none', {}) | |
457 call <sid>hi('typescriptTemplateSubstitution', s:cdLightBlue, {}, 'none', {}) | |
458 call <sid>hi('typescriptClassBlock', s:cdLightBlue, {}, 'none', {}) | |
459 call <sid>hi('typescriptFuncCallArg', s:cdLightBlue, {}, 'none', {}) | |
460 call <sid>hi('typescriptIndexExpr', s:cdLightBlue, {}, 'none', {}) | |
461 call <sid>hi('typescriptConditionalParen', s:cdLightBlue, {}, 'none', {}) | |
462 call <sid>hi('typescriptArray', s:cdYellow, {}, 'none', {}) | |
463 call <sid>hi('typescriptES6SetProp', s:cdLightBlue, {}, 'none', {}) | |
464 call <sid>hi('typescriptObjectLiteral', s:cdLightBlue, {}, 'none', {}) | |
465 call <sid>hi('typescriptTypeParameter', s:cdBlueGreen, {}, 'none', {}) | |
466 call <sid>hi('typescriptEnumKeyword', s:cdBlue, {}, 'none', {}) | |
467 call <sid>hi('typescriptEnum', s:cdBlueGreen, {}, 'none', {}) | |
468 call <sid>hi('typescriptLoopParen', s:cdLightBlue, {}, 'none', {}) | |
469 call <sid>hi('typescriptParenExp', s:cdLightBlue, {}, 'none', {}) | |
470 call <sid>hi('typescriptModule', s:cdLightBlue, {}, 'none', {}) | |
471 call <sid>hi('typescriptAmbientDeclaration', s:cdBlue, {}, 'none', {}) | |
472 call <sid>hi('typescriptModule', s:cdBlue, {}, 'none', {}) | |
473 call <sid>hi('typescriptFuncTypeArrow', s:cdBlue, {}, 'none', {}) | |
474 call <sid>hi('typescriptInterfaceHeritage', s:cdBlueGreen, {}, 'none', {}) | |
475 call <sid>hi('typescriptInterfaceName', s:cdBlueGreen, {}, 'none', {}) | |
476 call <sid>hi('typescriptInterfaceKeyword', s:cdBlue, {}, 'none', {}) | |
477 call <sid>hi('typescriptInterfaceExtends', s:cdBlue, {}, 'none', {}) | |
478 call <sid>hi('typescriptGlobal', s:cdBlueGreen, {}, 'none', {}) | |
479 call <sid>hi('typescriptAsyncFuncKeyword', s:cdBlue, {}, 'none', {}) | |
480 call <sid>hi('typescriptFuncKeyword', s:cdBlue, {}, 'none', {}) | |
481 call <sid>hi('typescriptGlobalMethod', s:cdYellow, {}, 'none', {}) | |
482 call <sid>hi('typescriptPromiseMethod', s:cdYellow, {}, 'none', {}) | |
483 | |
484 " XML: | |
485 call <sid>hi('xmlTag', s:cdBlueGreen, {}, 'none', {}) | |
486 call <sid>hi('xmlTagName', s:cdBlueGreen, {}, 'none', {}) | |
487 call <sid>hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {}) | |
488 | |
489 " Ruby: | |
490 call <sid>hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {}) | |
491 call <sid>hi('rubyClassName', s:cdBlueGreen, {}, 'none', {}) | |
492 call <sid>hi('rubyModuleName', s:cdBlueGreen, {}, 'none', {}) | |
493 call <sid>hi('rubyConstant', s:cdBlueGreen, {}, 'none', {}) | |
494 | |
495 " Golang: | |
496 call <sid>hi('goPackage', s:cdBlue, {}, 'none', {}) | |
497 call <sid>hi('goImport', s:cdBlue, {}, 'none', {}) | |
498 call <sid>hi('goVar', s:cdBlue, {}, 'none', {}) | |
499 call <sid>hi('goConst', s:cdBlue, {}, 'none', {}) | |
500 call <sid>hi('goStatement', s:cdPink, {}, 'none', {}) | |
501 call <sid>hi('goType', s:cdBlueGreen, {}, 'none', {}) | |
502 call <sid>hi('goSignedInts', s:cdBlueGreen, {}, 'none', {}) | |
503 call <sid>hi('goUnsignedInts', s:cdBlueGreen, {}, 'none', {}) | |
504 call <sid>hi('goFloats', s:cdBlueGreen, {}, 'none', {}) | |
505 call <sid>hi('goComplexes', s:cdBlueGreen, {}, 'none', {}) | |
506 call <sid>hi('goBuiltins', s:cdYellow, {}, 'none', {}) | |
507 call <sid>hi('goBoolean', s:cdBlue, {}, 'none', {}) | |
508 call <sid>hi('goPredefinedIdentifiers', s:cdBlue, {}, 'none', {}) | |
509 call <sid>hi('goTodo', s:cdGreen, {}, 'none', {}) | |
510 call <sid>hi('goDeclaration', s:cdBlue, {}, 'none', {}) | |
511 call <sid>hi('goDeclType', s:cdBlue, {}, 'none', {}) | |
512 call <sid>hi('goTypeDecl', s:cdBlue, {}, 'none', {}) | |
513 call <sid>hi('goTypeName', s:cdBlueGreen, {}, 'none', {}) | |
514 call <sid>hi('goVarAssign', s:cdLightBlue, {}, 'none', {}) | |
515 call <sid>hi('goVarDefs', s:cdLightBlue, {}, 'none', {}) | |
516 call <sid>hi('goReceiver', s:cdFront, {}, 'none', {}) | |
517 call <sid>hi('goReceiverType', s:cdFront, {}, 'none', {}) | |
518 call <sid>hi('goFunctionCall', s:cdYellow, {}, 'none', {}) | |
519 call <sid>hi('goMethodCall', s:cdYellow, {}, 'none', {}) | |
520 call <sid>hi('goSingleDecl', s:cdLightBlue, {}, 'none', {}) | |
521 | |
522 " Python: | |
523 call <sid>hi('pythonStatement', s:cdBlue, {}, 'none', {}) | |
524 call <sid>hi('pythonOperator', s:cdBlue, {}, 'none', {}) | |
525 call <sid>hi('pythonException', s:cdPink, {}, 'none', {}) | |
526 call <sid>hi('pythonExClass', s:cdBlueGreen, {}, 'none', {}) | |
527 call <sid>hi('pythonBuiltinObj', s:cdLightBlue, {}, 'none', {}) | |
528 call <sid>hi('pythonBuiltinType', s:cdBlueGreen, {}, 'none', {}) | |
529 call <sid>hi('pythonBoolean', s:cdBlue, {}, 'none', {}) | |
530 call <sid>hi('pythonNone', s:cdBlue, {}, 'none', {}) | |
531 call <sid>hi('pythonTodo', s:cdBlue, {}, 'none', {}) | |
532 call <sid>hi('pythonClassVar', s:cdBlue, {}, 'none', {}) | |
533 call <sid>hi('pythonClassDef', s:cdBlueGreen, {}, 'none', {}) | |
534 | |
535 " TeX: | |
536 call <sid>hi('texStatement', s:cdBlue, {}, 'none', {}) | |
537 call <sid>hi('texBeginEnd', s:cdYellow, {}, 'none', {}) | |
538 call <sid>hi('texBeginEndName', s:cdLightBlue, {}, 'none', {}) | |
539 call <sid>hi('texOption', s:cdLightBlue, {}, 'none', {}) | |
540 call <sid>hi('texBeginEndModifier', s:cdLightBlue, {}, 'none', {}) | |
541 call <sid>hi('texDocType', s:cdPink, {}, 'none', {}) | |
542 call <sid>hi('texDocTypeArgs', s:cdLightBlue, {}, 'none', {}) | |
543 | |
544 " Git: | |
545 call <sid>hi('gitcommitHeader', s:cdGray, {}, 'none', {}) | |
546 call <sid>hi('gitcommitOnBranch', s:cdGray, {}, 'none', {}) | |
547 call <sid>hi('gitcommitBranch', s:cdPink, {}, 'none', {}) | |
548 call <sid>hi('gitcommitComment', s:cdGray, {}, 'none', {}) | |
549 call <sid>hi('gitcommitSelectedType', s:cdGreen, {}, 'none', {}) | |
550 call <sid>hi('gitcommitSelectedFile', s:cdGreen, {}, 'none', {}) | |
551 call <sid>hi('gitcommitDiscardedType', s:cdRed, {}, 'none', {}) | |
552 call <sid>hi('gitcommitDiscardedFile', s:cdRed, {}, 'none', {}) | |
553 call <sid>hi('gitcommitOverflow', s:cdRed, {}, 'none', {}) | |
554 call <sid>hi('gitcommitSummary', s:cdPink, {}, 'none', {}) | |
555 call <sid>hi('gitcommitBlank', s:cdPink, {}, 'none', {}) | |
556 | |
557 " Lua: | |
558 call <sid>hi('luaFuncCall', s:cdYellow, {}, 'none', {}) | |
559 call <sid>hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) | |
560 call <sid>hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) | |
561 call <sid>hi('luaLocal', s:cdPink, {}, 'none', {}) | |
562 call <sid>hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) | |
563 | |
673 | 564 |
662 | 565 " SH: |
566 call <sid>hi('shDeref', s:cdLightBlue, {}, 'none', {}) | |
567 call <sid>hi('shVariable', s:cdLightBlue, {}, 'none', {}) | |
568 | |
569 " SQL: | |
570 call <sid>hi('sqlKeyword', s:cdPink, {}, 'none', {}) | |
571 call <sid>hi('sqlFunction', s:cdYellowOrange, {}, 'none', {}) | |
572 call <sid>hi('sqlOperator', s:cdPink, {}, 'none', {}) | |
573 | |
574 " YAML: | |
575 call <sid>hi('yamlKey', s:cdBlue, {}, 'none', {}) | |
576 call <sid>hi('yamlConstant', s:cdBlue, {}, 'none', {}) | |
577 | |
673 | 578 " C++: |
579 call <sid>hi('CTagsClass', s:cdBlueGreen, {}, 'none', {}) | |
580 call <sid>hi('CTagsStructure', s:cdBlueGreen, {}, 'none', {}) | |
581 call <sid>hi('CTagsNamespace', s:cdBlueGreen, {}, 'none', {}) | |
582 call <sid>hi('CTagsGlobalVariable', s:cdBlueGreen, {}, 'none', {}) | |
583 call <sid>hi('CTagsDefinedName ', s:cdBlue, {}, 'none', {}) | |
584 highlight def link CTagsFunction Function | |
585 highlight def link CTagsMember Identifier | |
586 | |
587 " C++ color_coded | |
588 call <sid>hi('StructDecl', s:cdBlueGreen, {}, 'none', {}) | |
589 call <sid>hi('UnionDecl', s:cdBlueGreen, {}, 'none', {}) | |
590 call <sid>hi('ClassDecl', s:cdBlueGreen, {}, 'none', {}) | |
591 call <sid>hi('TypeRef', s:cdBlueGreen, {}, 'none', {}) | |
592 call <sid>hi('TypedefDecl', s:cdBlueGreen, {}, 'none', {}) | |
593 call <sid>hi('TypeAliasDecl', s:cdBlueGreen, {}, 'none', {}) | |
594 call <sid>hi('EnumDecl', s:cdBlueGreen, {}, 'none', {}) | |
595 call <sid>hi('TemplateTypeParameter', s:cdBlueGreen, {}, 'none', {}) | |
596 call <sid>hi('TypeAliasTemplateDecl', s:cdBlueGreen, {}, 'none', {}) | |
597 call <sid>hi('ClassTemplate', s:cdBlueGreen, {}, 'none', {}) | |
598 call <sid>hi('ClassTemplatePartialSpecialization', s:cdBlueGreen, {}, 'none', {}) | |
599 call <sid>hi('FunctionTemplate', s:cdBlueGreen, {}, 'none', {}) | |
600 call <sid>hi('TemplateRef', s:cdBlueGreen, {}, 'none', {}) | |
601 call <sid>hi('TemplateTemplateParameter', s:cdBlueGreen, {}, 'none', {}) | |
602 call <sid>hi('UsingDeclaration', s:cdBlueGreen, {}, 'none', {}) | |
603 call <sid>hi('MemberRef', s:cdLightBlue, {}, 'italic', {}) | |
604 call <sid>hi('MemberRefExpr', s:cdYellow, {}, 'italic', {}) | |
605 call <sid>hi('Namespace', s:cdSilver, {}, 'none', {}) | |
606 call <sid>hi('NamespaceRef', s:cdSilver, {}, 'none', {}) | |
607 call <sid>hi('NamespaceAlias', s:cdSilver, {}, 'none', {}) | |
608 | |
609 " C++ lsp-cxx-highlight | |
610 call <sid>hi('LspCxxHlSymClass', s:cdBlueGreen, {}, 'none', {}) | |
611 call <sid>hi('LspCxxHlSymStruct', s:cdBlueGreen, {}, 'none', {}) | |
612 call <sid>hi('LspCxxHlSymEnum', s:cdBlueGreen, {}, 'none', {}) | |
613 call <sid>hi('LspCxxHlSymTypeAlias', s:cdBlueGreen, {}, 'none', {}) | |
614 call <sid>hi('LspCxxHlSymTypeParameter', s:cdBlueGreen, {}, 'none', {}) | |
615 call <sid>hi('LspCxxHlSymConcept', s:cdBlueGreen, {}, 'italic', {}) | |
616 call <sid>hi('LspCxxHlSymNamespace', s:cdSilver, {}, 'none', {}) | |
617 | |
662 | 618 " Coc Explorer: |
673 | 619 call <sid>hi('CocHighlightText', {}, s:cdSelection, 'none', {}) |
662 | 620 call <sid>hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) |
673 | 621 |
622 " nvim-cmp | |
704
1e0f578f6752
Update vendor and add support for vim packs
nanaya <me@nanaya.net>
parents:
688
diff
changeset
|
623 call <sid>hi('CmpItemAbbrDeprecated', s:cdGray, {}, 'none', {}) |
673 | 624 call <sid>hi('CmpItemAbbrMatch', s:cdBlue, {}, 'none', {}) |
625 call <sid>hi('CmpItemAbbrMatchFuzzy', s:cdBlue, {}, 'none', {}) | |
626 call <sid>hi('CmpItemKindVariable', s:cdLightBlue, {}, 'none', {}) | |
627 call <sid>hi('CmpItemKindInterface', s:cdLightBlue, {}, 'none', {}) | |
628 call <sid>hi('CmpItemKindText', s:cdLightBlue, {}, 'none', {}) | |
629 call <sid>hi('CmpItemKindFunction', s:cdPink, {}, 'none', {}) | |
630 call <sid>hi('CmpItemKindMethod ', s:cdPink, {}, 'none', {}) | |
631 call <sid>hi('CmpItemKindKeyword', s:cdFront, {}, 'none', {}) | |
632 call <sid>hi('CmpItemKindProperty', s:cdFront, {}, 'none', {}) | |
633 call <sid>hi('CmpItemKindUnit', s:cdFront, {}, 'none', {}) |