Mercurial > ec-dotfiles
comparison vendor/vim-colors/codedark.vim @ 662:f280738a90a6
[vim] vendor theme and add some more
author | nanaya <me@nanaya.pro> |
---|---|
date | Fri, 10 Dec 2021 20:20:30 +0900 |
parents | |
children | 6cdd7d26260d |
comparison
equal
deleted
inserted
replaced
661:c74dffea6a0a | 662:f280738a90a6 |
---|---|
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 | |
33 | |
34 " ------------------ | |
35 " Color definitions: | |
36 " ------------------ | |
37 | |
38 " Terminal colors (base16): | |
39 let s:cterm00 = "00" | |
40 let s:cterm03 = "08" | |
41 let s:cterm05 = "07" | |
42 let s:cterm07 = "15" | |
43 let s:cterm08 = "01" | |
44 let s:cterm0A = "03" | |
45 let s:cterm0B = "02" | |
46 let s:cterm0C = "06" | |
47 let s:cterm0D = "04" | |
48 let s:cterm0E = "05" | |
49 if exists('base16colorspace') && base16colorspace == "256" | |
50 let s:cterm01 = "18" | |
51 let s:cterm02 = "19" | |
52 let s:cterm04 = "20" | |
53 let s:cterm06 = "21" | |
54 let s:cterm09 = "16" | |
55 let s:cterm0F = "17" | |
56 else | |
57 let s:cterm01 = "00" | |
58 let s:cterm02 = "08" | |
59 let s:cterm04 = "07" | |
60 let s:cterm06 = "07" | |
61 let s:cterm09 = "06" | |
62 let s:cterm0F = "03" | |
63 endif | |
64 | |
65 " General appearance colors: | |
66 " (some of them may be unused) | |
67 | |
68 let s:cdNone = {'gui': 'NONE', 'cterm': 'NONE', 'cterm256': 'NONE'} | |
69 let s:cdFront = {'gui': '#D4D4D4', 'cterm': s:cterm05, 'cterm256': '188'} | |
70 let s:cdBack = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} | |
71 | |
72 let s:cdTabCurrent = {'gui': '#1E1E1E', 'cterm': s:cterm00, 'cterm256': '234'} | |
73 let s:cdTabOther = {'gui': '#2D2D2D', 'cterm': s:cterm01, 'cterm256': '236'} | |
74 let s:cdTabOutside = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} | |
75 | |
76 let s:cdLeftDark = {'gui': '#252526', 'cterm': s:cterm01, 'cterm256': '235'} | |
77 let s:cdLeftMid = {'gui': '#373737', 'cterm': s:cterm03, 'cterm256': '237'} | |
78 let s:cdLeftLight = {'gui': '#3F3F46', 'cterm': s:cterm03, 'cterm256': '238'} | |
79 | |
80 let s:cdPopupFront = {'gui': '#BBBBBB', 'cterm': s:cterm06, 'cterm256': '250'} | |
81 let s:cdPopupBack = {'gui': '#2D2D30', 'cterm': s:cterm01, 'cterm256': '236'} | |
82 let s:cdPopupHighlightBlue = {'gui': '#073655', 'cterm': s:cterm0D, 'cterm256': '24'} | |
83 let s:cdPopupHighlightGray = {'gui': '#3D3D40', 'cterm': s:cterm03, 'cterm256': '237'} | |
84 | |
85 let s:cdSplitLight = {'gui': '#898989', 'cterm': s:cterm04, 'cterm256': '245'} | |
86 let s:cdSplitDark = {'gui': '#444444', 'cterm': s:cterm03, 'cterm256': '238'} | |
87 let s:cdSplitThumb = {'gui': '#424242', 'cterm': s:cterm04, 'cterm256': '238'} | |
88 | |
89 let s:cdCursorDarkDark = {'gui': '#222222', 'cterm': s:cterm01, 'cterm256': '235'} | |
90 let s:cdCursorDark = {'gui': '#51504F', 'cterm': s:cterm03, 'cterm256': '239'} | |
91 let s:cdCursorLight = {'gui': '#AEAFAD', 'cterm': s:cterm04, 'cterm256': '145'} | |
92 let s:cdSelection = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} | |
93 let s:cdLineNumber = {'gui': '#5A5A5A', 'cterm': s:cterm04, 'cterm256': '240'} | |
94 | |
95 let s:cdDiffRedDark = {'gui': '#4B1818', 'cterm': s:cterm08, 'cterm256': '52'} | |
96 let s:cdDiffRedLight = {'gui': '#6F1313', 'cterm': s:cterm08, 'cterm256': '52'} | |
97 let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': '09'} | |
98 let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'} | |
99 let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} | |
100 | |
101 let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} | |
102 let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} | |
103 | |
104 " Syntax colors: | |
105 | |
106 if !exists("g:codedark_conservative") | |
107 let g:codedark_conservative=0 | |
108 endif | |
109 | |
110 let s:cdGray = {'gui': '#808080', 'cterm': s:cterm04, 'cterm256': '08'} | |
111 let s:cdViolet = {'gui': '#646695', 'cterm': s:cterm04, 'cterm256': '60'} | |
112 let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'} | |
113 let s:cdDarkBlue = {'gui': '#223E55', 'cterm': s:cterm0D, 'cterm256': '73'} | |
114 let s:cdLightBlue = {'gui': '#9CDCFE', 'cterm': s:cterm0C, 'cterm256': '117'} | |
115 if g:codedark_conservative | let s:cdLightBlue = s:cdFront | endif | |
116 let s:cdGreen = {'gui': '#6A9955', 'cterm': s:cterm0B, 'cterm256': '65'} | |
117 let s:cdBlueGreen = {'gui': '#4EC9B0', 'cterm': s:cterm0F, 'cterm256': '43'} | |
118 let s:cdLightGreen = {'gui': '#B5CEA8', 'cterm': s:cterm09, 'cterm256': '151'} | |
119 let s:cdRed = {'gui': '#F44747', 'cterm': s:cterm08, 'cterm256': '203'} | |
120 let s:cdOrange = {'gui': '#CE9178', 'cterm': s:cterm0F, 'cterm256': '173'} | |
121 let s:cdLightRed = {'gui': '#D16969', 'cterm': s:cterm08, 'cterm256': '167'} | |
122 if g:codedark_conservative | let s:cdLightRed = s:cdOrange | endif | |
123 let s:cdYellowOrange = {'gui': '#D7BA7D', 'cterm': s:cterm0A, 'cterm256': '179'} | |
124 let s:cdYellow = {'gui': '#DCDCAA', 'cterm': s:cterm0A, 'cterm256': '187'} | |
125 if g:codedark_conservative | let s:cdYellow = s:cdFront | endif | |
126 let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'} | |
127 if g:codedark_conservative | let s:cdPink = s:cdBlue | endif | |
128 | |
129 " Vim editor colors | |
130 " <sid>hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL) | |
131 call <sid>hi('Normal', s:cdFront, s:cdBack, 'none', {}) | |
132 call <sid>hi('ColorColumn', {}, s:cdCursorDarkDark, 'none', {}) | |
133 call <sid>hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {}) | |
134 call <sid>hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {}) | |
135 call <sid>hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {}) | |
136 call <sid>hi('Directory', s:cdBlue, s:cdBack, 'none', {}) | |
137 call <sid>hi('DiffAdd', {}, s:cdDiffGreenLight, 'none', {}) | |
138 call <sid>hi('DiffChange', {}, s:cdDiffRedDark, 'none', {}) | |
139 call <sid>hi('DiffDelete', {}, s:cdDiffRedLight, 'none', {}) | |
140 call <sid>hi('DiffText', {}, s:cdDiffRedLight, 'none', {}) | |
141 call <sid>hi('EndOfBuffer', s:cdLineNumber, s:cdBack, 'none', {}) | |
142 call <sid>hi('ErrorMsg', s:cdRed, s:cdBack, 'none', {}) | |
143 call <sid>hi('VertSplit', s:cdSplitDark, s:cdBack, 'none', {}) | |
144 call <sid>hi('Folded', s:cdLeftLight, s:cdLeftDark, 'underline', {}) | |
145 call <sid>hi('FoldColumn', s:cdLineNumber, s:cdBack, 'none', {}) | |
146 call <sid>hi('SignColumn', {}, s:cdBack, 'none', {}) | |
147 call <sid>hi('IncSearch', s:cdNone, s:cdSearchCurrent, 'none', {}) | |
148 call <sid>hi('LineNr', s:cdLineNumber, s:cdBack, 'none', {}) | |
149 call <sid>hi('CursorLineNr', s:cdPopupFront, s:cdBack, 'none', {}) | |
150 call <sid>hi('MatchParen', s:cdNone, s:cdCursorDark, 'none', {}) | |
151 call <sid>hi('ModeMsg', s:cdFront, s:cdLeftDark, 'none', {}) | |
152 call <sid>hi('MoreMsg', s:cdFront, s:cdLeftDark, 'none', {}) | |
153 call <sid>hi('NonText', s:cdLineNumber, s:cdBack, 'none', {}) | |
154 call <sid>hi('Pmenu', s:cdPopupFront, s:cdPopupBack, 'none', {}) | |
155 call <sid>hi('PmenuSel', s:cdPopupFront, s:cdPopupHighlightBlue, 'none', {}) | |
156 call <sid>hi('PmenuSbar', {}, s:cdPopupHighlightGray, 'none', {}) | |
157 call <sid>hi('PmenuThumb', {}, s:cdPopupFront, 'none', {}) | |
158 call <sid>hi('Question', s:cdBlue, s:cdBack, 'none', {}) | |
159 call <sid>hi('Search', s:cdNone, s:cdSearch, 'none', {}) | |
160 call <sid>hi('SpecialKey', s:cdBlue, s:cdNone, 'none', {}) | |
161 call <sid>hi('StatusLine', s:cdFront, s:cdLeftMid, 'none', {}) | |
162 call <sid>hi('StatusLineNC', s:cdFront, s:cdLeftDark, 'none', {}) | |
163 call <sid>hi('TabLine', s:cdFront, s:cdTabOther, 'none', {}) | |
164 call <sid>hi('TabLineFill', s:cdFront, s:cdTabOutside, 'none', {}) | |
165 call <sid>hi('TabLineSel', s:cdFront, s:cdTabCurrent, 'none', {}) | |
166 call <sid>hi('Title', s:cdNone, s:cdNone, 'bold', {}) | |
167 call <sid>hi('Visual', s:cdNone, s:cdSelection, 'none', {}) | |
168 call <sid>hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {}) | |
169 call <sid>hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {}) | |
170 call <sid>hi('WildMenu', s:cdNone, s:cdSelection, 'none', {}) | |
171 | |
172 " Legacy groups for official git.vim and diff.vim syntax | |
173 hi! link diffAdded DiffAdd | |
174 hi! link diffChanged DiffChange | |
175 hi! link diffRemoved DiffDelete | |
176 | |
177 call <sid>hi('Comment', s:cdGreen, {}, 'none', {}) | |
178 | |
179 call <sid>hi('Constant', s:cdBlue, {}, 'none', {}) | |
180 call <sid>hi('String', s:cdOrange, {}, 'none', {}) | |
181 call <sid>hi('Character', s:cdOrange, {}, 'none', {}) | |
182 call <sid>hi('Number', s:cdLightGreen, {}, 'none', {}) | |
183 call <sid>hi('Boolean', s:cdBlue, {}, 'none', {}) | |
184 call <sid>hi('Float', s:cdLightGreen, {}, 'none', {}) | |
185 | |
186 call <sid>hi('Identifier', s:cdLightBlue, {}, 'none', {}) | |
187 call <sid>hi('Function', s:cdYellow, {}, 'none', {}) | |
188 | |
189 call <sid>hi('Statement', s:cdPink, {}, 'none', {}) | |
190 call <sid>hi('Conditional', s:cdPink, {}, 'none', {}) | |
191 call <sid>hi('Repeat', s:cdPink, {}, 'none', {}) | |
192 call <sid>hi('Label', s:cdPink, {}, 'none', {}) | |
193 call <sid>hi('Operator', s:cdFront, {}, 'none', {}) | |
194 call <sid>hi('Keyword', s:cdPink, {}, 'none', {}) | |
195 call <sid>hi('Exception', s:cdPink, {}, 'none', {}) | |
196 | |
197 call <sid>hi('PreProc', s:cdPink, {}, 'none', {}) | |
198 call <sid>hi('Include', s:cdPink, {}, 'none', {}) | |
199 call <sid>hi('Define', s:cdPink, {}, 'none', {}) | |
200 call <sid>hi('Macro', s:cdPink, {}, 'none', {}) | |
201 call <sid>hi('PreCondit', s:cdPink, {}, 'none', {}) | |
202 | |
203 call <sid>hi('Type', s:cdBlue, {}, 'none', {}) | |
204 call <sid>hi('StorageClass', s:cdBlue, {}, 'none', {}) | |
205 call <sid>hi('Structure', s:cdBlue, {}, 'none', {}) | |
206 call <sid>hi('Typedef', s:cdBlue, {}, 'none', {}) | |
207 | |
208 call <sid>hi('Special', s:cdYellowOrange, {}, 'none', {}) | |
209 call <sid>hi('SpecialChar', s:cdFront, {}, 'none', {}) | |
210 call <sid>hi('Tag', s:cdFront, {}, 'none', {}) | |
211 call <sid>hi('Delimiter', s:cdFront, {}, 'none', {}) | |
212 call <sid>hi('SpecialComment', s:cdGreen, {}, 'none', {}) | |
213 call <sid>hi('Debug', s:cdFront, {}, 'none', {}) | |
214 | |
215 call <sid>hi('Underlined', s:cdNone, {}, 'underline', {}) | |
216 call <sid>hi("Conceal", s:cdFront, s:cdBack, 'none', {}) | |
217 | |
218 call <sid>hi('Ignore', s:cdFront, {}, 'none', {}) | |
219 | |
220 call <sid>hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
221 | |
222 call <sid>hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) | |
223 | |
224 call <sid>hi('SpellBad', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
225 call <sid>hi('SpellCap', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
226 call <sid>hi('SpellRare', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
227 call <sid>hi('SpellLocal', s:cdRed, s:cdBack, 'undercurl', s:cdRed) | |
228 | |
229 | |
230 " Neovim Treesitter: | |
231 call <sid>hi('TSError', s:cdRed, {}, 'none', {}) | |
232 call <sid>hi('TSPunctDelimiter', s:cdFront, {}, 'none', {}) | |
233 call <sid>hi('TSPunctBracket', s:cdFront, {}, 'none', {}) | |
234 call <sid>hi('TSPunctSpecial', s:cdFront, {}, 'none', {}) | |
235 " Constant | |
236 call <sid>hi('TSConstant', s:cdYellow, {}, 'none', {}) | |
237 call <sid>hi('TSConstBuiltin', s:cdBlue, {}, 'none', {}) | |
238 call <sid>hi('TSConstMacro', s:cdBlueGreen, {}, 'none', {}) | |
239 call <sid>hi('TSStringRegex', s:cdOrange, {}, 'none', {}) | |
240 call <sid>hi('TSString', s:cdOrange, {}, 'none', {}) | |
241 call <sid>hi('TSStringEscape', s:cdYellowOrange, {}, 'none', {}) | |
242 call <sid>hi('TSCharacter', s:cdOrange, {}, 'none', {}) | |
243 call <sid>hi('TSNumber', s:cdLightGreen, {}, 'none', {}) | |
244 call <sid>hi('TSBoolean', s:cdBlue, {}, 'none', {}) | |
245 call <sid>hi('TSFloat', s:cdLightGreen, {}, 'none', {}) | |
246 call <sid>hi('TSAnnotation', s:cdYellow, {}, 'none', {}) | |
247 call <sid>hi('TSAttribute', s:cdBlueGreen, {}, 'none', {}) | |
248 call <sid>hi('TSNamespace', s:cdBlueGreen, {}, 'none', {}) | |
249 " Functions | |
250 call <sid>hi('TSFuncBuiltin', s:cdYellow, {}, 'none', {}) | |
251 call <sid>hi('TSFunction', s:cdYellow, {}, 'none', {}) | |
252 call <sid>hi('TSFuncMacro', s:cdYellow, {}, 'none', {}) | |
253 call <sid>hi('TSParameter', s:cdLightBlue, {}, 'none', {}) | |
254 call <sid>hi('TSParameterReference', s:cdLightBlue, {}, 'none', {}) | |
255 call <sid>hi('TSMethod', s:cdYellow, {}, 'none', {}) | |
256 call <sid>hi('TSField', s:cdLightBlue, {}, 'none', {}) | |
257 call <sid>hi('TSProperty', s:cdLightBlue, {}, 'none', {}) | |
258 call <sid>hi('TSConstructor', s:cdBlueGreen, {}, 'none', {}) | |
259 " Keywords | |
260 call <sid>hi('TSConditional', s:cdPink, {}, 'none', {}) | |
261 call <sid>hi('TSRepeat', s:cdPink, {}, 'none', {}) | |
262 call <sid>hi('TSLabel', s:cdLightBlue, {}, 'none', {}) | |
263 call <sid>hi('TSKeyword', s:cdBlue, {}, 'none', {}) | |
264 call <sid>hi('TSKeywordFunction', s:cdPink, {}, 'none', {}) | |
265 call <sid>hi('TSKeywordOperator', s:cdBlue, {}, 'none', {}) | |
266 call <sid>hi('TSOperator', s:cdFront, {}, 'none', {}) | |
267 call <sid>hi('TSException', s:cdPink, {}, 'none', {}) | |
268 call <sid>hi('TSType', s:cdBlueGreen, {}, 'none', {}) | |
269 call <sid>hi('TSTypeBuiltin', s:cdBlue, {}, 'none', {}) | |
270 call <sid>hi('TSStructure', s:cdLightBlue, {}, 'none', {}) | |
271 call <sid>hi('TSInclude', s:cdPink, {}, 'none', {}) | |
272 " Variable | |
273 call <sid>hi('TSVariable', s:cdLightBlue, {}, 'none', {}) | |
274 call <sid>hi('TSVariableBuiltin', s:cdLightBlue, {}, 'none', {}) | |
275 " Text | |
276 call <sid>hi('TSText', s:cdYellowOrange, {}, 'none', {}) | |
277 call <sid>hi('TSStrong', s:cdYellowOrange, {}, 'none', {}) | |
278 call <sid>hi('TSEmphasis', s:cdYellowOrange, {}, 'none', {}) | |
279 call <sid>hi('TSUnderline', s:cdYellowOrange, {}, 'none', {}) | |
280 call <sid>hi('TSTitle', s:cdYellowOrange, {}, 'none', {}) | |
281 call <sid>hi('TSLiteral', s:cdYellowOrange, {}, 'none', {}) | |
282 call <sid>hi('TSURI', s:cdYellowOrange, {}, 'none', {}) | |
283 " Tags | |
284 call <sid>hi('TSTag', s:cdBlue, {}, 'none', {}) | |
285 call <sid>hi('TSTagDelimiter', s:cdGray, {}, 'none', {}) | |
286 | |
287 " Markdown: | |
288 call <sid>hi('markdownBold', s:cdBlue, {}, 'bold', {}) | |
289 call <sid>hi('markdownCode', s:cdOrange, {}, 'none', {}) | |
290 call <sid>hi('markdownRule', s:cdBlue, {}, 'bold', {}) | |
291 call <sid>hi('markdownCodeDelimiter', s:cdOrange, {}, 'none', {}) | |
292 call <sid>hi('markdownHeadingDelimiter', s:cdBlue, {}, 'none', {}) | |
293 call <sid>hi('markdownFootnote', s:cdOrange, {}, 'none', {}) | |
294 call <sid>hi('markdownFootnoteDefinition', s:cdOrange, {}, 'none', {}) | |
295 call <sid>hi('markdownUrl', s:cdLightBlue, {}, 'underline', {}) | |
296 call <sid>hi('markdownLinkText', s:cdOrange, {}, 'none', {}) | |
297 call <sid>hi('markdownEscape', s:cdYellowOrange, {}, 'none', {}) | |
298 | |
299 " Asciidoc (for default syntax highlighting) | |
300 call <sid>hi("asciidocAttributeEntry", s:cdYellowOrange, {}, 'none', {}) | |
301 call <sid>hi("asciidocAttributeList", s:cdPink, {}, 'none', {}) | |
302 call <sid>hi("asciidocAttributeRef", s:cdYellowOrange, {}, 'none', {}) | |
303 call <sid>hi("asciidocHLabel", s:cdBlue, {}, 'bold', {}) | |
304 call <sid>hi("asciidocListingBlock", s:cdOrange, {}, 'none', {}) | |
305 call <sid>hi("asciidocMacroAttributes", s:cdYellowOrange, {}, 'none', {}) | |
306 call <sid>hi("asciidocOneLineTitle", s:cdBlue, {}, 'bold', {}) | |
307 call <sid>hi("asciidocPassthroughBlock", s:cdBlue, {}, 'none', {}) | |
308 call <sid>hi("asciidocQuotedMonospaced", s:cdOrange, {}, 'none', {}) | |
309 call <sid>hi("asciidocTriplePlusPassthrough", s:cdYellow, {}, 'none', {}) | |
310 call <sid>hi("asciidocMacro", s:cdPink, {}, 'none', {}) | |
311 call <sid>hi("asciidocAdmonition", s:cdOrange, {}, 'none', {}) | |
312 call <sid>hi("asciidocQuotedEmphasized", s:cdBlue, {}, 'italic', {}) | |
313 call <sid>hi("asciidocQuotedEmphasized2", s:cdBlue, {}, 'italic', {}) | |
314 call <sid>hi("asciidocQuotedEmphasizedItalic", s:cdBlue, {}, 'italic', {}) | |
315 hi! link asciidocBackslash Keyword | |
316 hi! link asciidocQuotedBold markdownBold | |
317 hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced | |
318 hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold | |
319 hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized | |
320 hi! link asciidocURL markdownUrl | |
321 | |
322 " JSON: | |
323 call <sid>hi('jsonKeyword', s:cdLightBlue, {}, 'none', {}) | |
324 call <sid>hi('jsonEscape', s:cdYellowOrange, {}, 'none', {}) | |
325 call <sid>hi('jsonNull', s:cdBlue, {}, 'none', {}) | |
326 call <sid>hi('jsonBoolean', s:cdBlue, {}, 'none', {}) | |
327 | |
328 " HTML: | |
329 call <sid>hi('htmlTag', s:cdGray, {}, 'none', {}) | |
330 call <sid>hi('htmlEndTag', s:cdGray, {}, 'none', {}) | |
331 call <sid>hi('htmlTagName', s:cdBlue, {}, 'none', {}) | |
332 call <sid>hi('htmlSpecialTagName', s:cdBlue, {}, 'none', {}) | |
333 call <sid>hi('htmlArg', s:cdLightBlue, {}, 'none', {}) | |
334 | |
335 " PHP: | |
336 call <sid>hi('phpStaticClasses', s:cdBlueGreen, {}, 'none', {}) | |
337 call <sid>hi('phpMethod', s:cdYellow, {}, 'none', {}) | |
338 call <sid>hi('phpClass', s:cdBlueGreen, {}, 'none', {}) | |
339 call <sid>hi('phpFunction', s:cdYellow, {}, 'none', {}) | |
340 call <sid>hi('phpInclude', s:cdBlue, {}, 'none', {}) | |
341 call <sid>hi('phpUseClass', s:cdBlueGreen, {}, 'none', {}) | |
342 call <sid>hi('phpRegion', s:cdBlueGreen, {}, 'none', {}) | |
343 call <sid>hi('phpMethodsVar', s:cdLightBlue, {}, 'none', {}) | |
344 | |
345 " CSS: | |
346 call <sid>hi('cssBraces', s:cdFront, {}, 'none', {}) | |
347 call <sid>hi('cssInclude', s:cdPink, {}, 'none', {}) | |
348 call <sid>hi('cssTagName', s:cdYellowOrange, {}, 'none', {}) | |
349 call <sid>hi('cssClassName', s:cdYellowOrange, {}, 'none', {}) | |
350 call <sid>hi('cssPseudoClass', s:cdYellowOrange, {}, 'none', {}) | |
351 call <sid>hi('cssPseudoClassId', s:cdYellowOrange, {}, 'none', {}) | |
352 call <sid>hi('cssPseudoClassLang', s:cdYellowOrange, {}, 'none', {}) | |
353 call <sid>hi('cssIdentifier', s:cdYellowOrange, {}, 'none', {}) | |
354 call <sid>hi('cssProp', s:cdLightBlue, {}, 'none', {}) | |
355 call <sid>hi('cssDefinition', s:cdLightBlue, {}, 'none', {}) | |
356 call <sid>hi('cssAttr', s:cdOrange, {}, 'none', {}) | |
357 call <sid>hi('cssAttrRegion', s:cdOrange, {}, 'none', {}) | |
358 call <sid>hi('cssColor', s:cdOrange, {}, 'none', {}) | |
359 call <sid>hi('cssFunction', s:cdOrange, {}, 'none', {}) | |
360 call <sid>hi('cssFunctionName', s:cdOrange, {}, 'none', {}) | |
361 call <sid>hi('cssVendor', s:cdOrange, {}, 'none', {}) | |
362 call <sid>hi('cssValueNumber', s:cdOrange, {}, 'none', {}) | |
363 call <sid>hi('cssValueLength', s:cdOrange, {}, 'none', {}) | |
364 call <sid>hi('cssUnitDecorators', s:cdOrange, {}, 'none', {}) | |
365 call <sid>hi('cssStyle', s:cdLightBlue, {}, 'none', {}) | |
366 call <sid>hi('cssImportant', s:cdBlue, {}, 'none', {}) | |
367 | |
368 " JavaScript: | |
369 call <sid>hi('jsVariableDef', s:cdLightBlue, {}, 'none', {}) | |
370 call <sid>hi('jsFuncArgs', s:cdLightBlue, {}, 'none', {}) | |
371 call <sid>hi('jsFuncBlock', s:cdLightBlue, {}, 'none', {}) | |
372 call <sid>hi('jsRegexpString', s:cdLightRed, {}, 'none', {}) | |
373 call <sid>hi('jsThis', s:cdBlue, {}, 'none', {}) | |
374 call <sid>hi('jsOperatorKeyword', s:cdBlue, {}, 'none', {}) | |
375 call <sid>hi('jsDestructuringBlock', s:cdLightBlue, {}, 'none', {}) | |
376 call <sid>hi('jsObjectKey', s:cdLightBlue, {}, 'none', {}) | |
377 call <sid>hi('jsGlobalObjects', s:cdBlueGreen, {}, 'none', {}) | |
378 call <sid>hi('jsModuleKeyword', s:cdLightBlue, {}, 'none', {}) | |
379 call <sid>hi('jsClassDefinition', s:cdBlueGreen, {}, 'none', {}) | |
380 call <sid>hi('jsClassKeyword', s:cdBlue, {}, 'none', {}) | |
381 call <sid>hi('jsExtendsKeyword', s:cdBlue, {}, 'none', {}) | |
382 call <sid>hi('jsExportDefault', s:cdPink, {}, 'none', {}) | |
383 call <sid>hi('jsFuncCall', s:cdYellow, {}, 'none', {}) | |
384 call <sid>hi('jsObjectValue', s:cdLightBlue, {}, 'none', {}) | |
385 call <sid>hi('jsParen', s:cdLightBlue, {}, 'none', {}) | |
386 call <sid>hi('jsObjectProp', s:cdLightBlue, {}, 'none', {}) | |
387 call <sid>hi('jsIfElseBlock', s:cdLightBlue, {}, 'none', {}) | |
388 call <sid>hi('jsParenIfElse', s:cdLightBlue, {}, 'none', {}) | |
389 call <sid>hi('jsSpreadOperator', s:cdLightBlue, {}, 'none', {}) | |
390 call <sid>hi('jsSpreadExpression', s:cdLightBlue, {}, 'none', {}) | |
391 | |
392 " Typescript: | |
393 call <sid>hi('typescriptLabel', s:cdLightBlue, {}, 'none', {}) | |
394 call <sid>hi('typescriptExceptions', s:cdLightBlue, {}, 'none', {}) | |
395 call <sid>hi('typescriptBraces', s:cdFront, {}, 'none', {}) | |
396 call <sid>hi('typescriptEndColons', s:cdLightBlue, {}, 'none', {}) | |
397 call <sid>hi('typescriptParens', s:cdFront, {}, 'none', {}) | |
398 call <sid>hi('typescriptDocTags', s:cdBlue, {}, 'none', {}) | |
399 call <sid>hi('typescriptDocComment', s:cdBlueGreen, {}, 'none', {}) | |
400 call <sid>hi('typescriptLogicSymbols', s:cdLightBlue, {}, 'none', {}) | |
401 call <sid>hi('typescriptImport', s:cdPink, {}, 'none', {}) | |
402 call <sid>hi('typescriptBOM', s:cdLightBlue, {}, 'none', {}) | |
403 call <sid>hi('typescriptVariableDeclaration', s:cdLightBlue, {}, 'none', {}) | |
404 call <sid>hi('typescriptVariable', s:cdBlue, {}, 'none', {}) | |
405 call <sid>hi('typescriptExport', s:cdPink, {}, 'none', {}) | |
406 call <sid>hi('typescriptAliasDeclaration', s:cdBlueGreen, {}, 'none', {}) | |
407 call <sid>hi('typescriptAliasKeyword', s:cdBlue, {}, 'none', {}) | |
408 call <sid>hi('typescriptClassName', s:cdBlueGreen, {}, 'none', {}) | |
409 call <sid>hi('typescriptAccessibilityModifier', s:cdBlue, {}, 'none', {}) | |
410 call <sid>hi('typescriptOperator', s:cdBlue, {}, 'none', {}) | |
411 call <sid>hi('typescriptArrowFunc', s:cdBlue, {}, 'none', {}) | |
412 call <sid>hi('typescriptMethodAccessor', s:cdBlue, {}, 'none', {}) | |
413 call <sid>hi('typescriptMember', s:cdYellow, {}, 'none', {}) | |
414 call <sid>hi('typescriptTypeReference', s:cdBlueGreen, {}, 'none', {}) | |
415 call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) | |
416 call <sid>hi('typescriptTemplateSB', s:cdYellowOrange, {}, 'none', {}) | |
417 call <sid>hi('typescriptArrowFuncArg', s:cdLightBlue, {}, 'none', {}) | |
418 call <sid>hi('typescriptParamImpl', s:cdLightBlue, {}, 'none', {}) | |
419 call <sid>hi('typescriptFuncComma', s:cdLightBlue, {}, 'none', {}) | |
420 call <sid>hi('typescriptCastKeyword', s:cdLightBlue, {}, 'none', {}) | |
421 call <sid>hi('typescriptCall', s:cdBlue, {}, 'none', {}) | |
422 call <sid>hi('typescriptCase', s:cdLightBlue, {}, 'none', {}) | |
423 call <sid>hi('typescriptReserved', s:cdPink, {}, 'none', {}) | |
424 call <sid>hi('typescriptDefault', s:cdLightBlue, {}, 'none', {}) | |
425 call <sid>hi('typescriptDecorator', s:cdYellow, {}, 'none', {}) | |
426 call <sid>hi('typescriptPredefinedType', s:cdBlueGreen, {}, 'none', {}) | |
427 call <sid>hi('typescriptClassHeritage', s:cdBlueGreen, {}, 'none', {}) | |
428 call <sid>hi('typescriptClassExtends', s:cdBlue, {}, 'none', {}) | |
429 call <sid>hi('typescriptClassKeyword', s:cdBlue, {}, 'none', {}) | |
430 call <sid>hi('typescriptBlock', s:cdLightBlue, {}, 'none', {}) | |
431 call <sid>hi('typescriptDOMDocProp', s:cdLightBlue, {}, 'none', {}) | |
432 call <sid>hi('typescriptTemplateSubstitution', s:cdLightBlue, {}, 'none', {}) | |
433 call <sid>hi('typescriptClassBlock', s:cdLightBlue, {}, 'none', {}) | |
434 call <sid>hi('typescriptFuncCallArg', s:cdLightBlue, {}, 'none', {}) | |
435 call <sid>hi('typescriptIndexExpr', s:cdLightBlue, {}, 'none', {}) | |
436 call <sid>hi('typescriptConditionalParen', s:cdLightBlue, {}, 'none', {}) | |
437 call <sid>hi('typescriptArray', s:cdYellow, {}, 'none', {}) | |
438 call <sid>hi('typescriptES6SetProp', s:cdLightBlue, {}, 'none', {}) | |
439 call <sid>hi('typescriptObjectLiteral', s:cdLightBlue, {}, 'none', {}) | |
440 call <sid>hi('typescriptTypeParameter', s:cdBlueGreen, {}, 'none', {}) | |
441 call <sid>hi('typescriptEnumKeyword', s:cdBlue, {}, 'none', {}) | |
442 call <sid>hi('typescriptEnum', s:cdBlueGreen, {}, 'none', {}) | |
443 call <sid>hi('typescriptLoopParen', s:cdLightBlue, {}, 'none', {}) | |
444 call <sid>hi('typescriptParenExp', s:cdLightBlue, {}, 'none', {}) | |
445 call <sid>hi('typescriptModule', s:cdLightBlue, {}, 'none', {}) | |
446 call <sid>hi('typescriptAmbientDeclaration', s:cdBlue, {}, 'none', {}) | |
447 call <sid>hi('typescriptModule', s:cdBlue, {}, 'none', {}) | |
448 call <sid>hi('typescriptFuncTypeArrow', s:cdBlue, {}, 'none', {}) | |
449 call <sid>hi('typescriptInterfaceHeritage', s:cdBlueGreen, {}, 'none', {}) | |
450 call <sid>hi('typescriptInterfaceName', s:cdBlueGreen, {}, 'none', {}) | |
451 call <sid>hi('typescriptInterfaceKeyword', s:cdBlue, {}, 'none', {}) | |
452 call <sid>hi('typescriptInterfaceExtends', s:cdBlue, {}, 'none', {}) | |
453 call <sid>hi('typescriptGlobal', s:cdBlueGreen, {}, 'none', {}) | |
454 call <sid>hi('typescriptAsyncFuncKeyword', s:cdBlue, {}, 'none', {}) | |
455 call <sid>hi('typescriptFuncKeyword', s:cdBlue, {}, 'none', {}) | |
456 call <sid>hi('typescriptGlobalMethod', s:cdYellow, {}, 'none', {}) | |
457 call <sid>hi('typescriptPromiseMethod', s:cdYellow, {}, 'none', {}) | |
458 | |
459 " XML: | |
460 call <sid>hi('xmlTag', s:cdBlueGreen, {}, 'none', {}) | |
461 call <sid>hi('xmlTagName', s:cdBlueGreen, {}, 'none', {}) | |
462 call <sid>hi('xmlEndTag', s:cdBlueGreen, {}, 'none', {}) | |
463 | |
464 " Ruby: | |
465 call <sid>hi('rubyClassNameTag', s:cdBlueGreen, {}, 'none', {}) | |
466 call <sid>hi('rubyClassName', s:cdBlueGreen, {}, 'none', {}) | |
467 call <sid>hi('rubyModuleName', s:cdBlueGreen, {}, 'none', {}) | |
468 call <sid>hi('rubyConstant', s:cdBlueGreen, {}, 'none', {}) | |
469 | |
470 " Golang: | |
471 call <sid>hi('goPackage', s:cdBlue, {}, 'none', {}) | |
472 call <sid>hi('goImport', s:cdBlue, {}, 'none', {}) | |
473 call <sid>hi('goVar', s:cdBlue, {}, 'none', {}) | |
474 call <sid>hi('goConst', s:cdBlue, {}, 'none', {}) | |
475 call <sid>hi('goStatement', s:cdPink, {}, 'none', {}) | |
476 call <sid>hi('goType', s:cdBlueGreen, {}, 'none', {}) | |
477 call <sid>hi('goSignedInts', s:cdBlueGreen, {}, 'none', {}) | |
478 call <sid>hi('goUnsignedInts', s:cdBlueGreen, {}, 'none', {}) | |
479 call <sid>hi('goFloats', s:cdBlueGreen, {}, 'none', {}) | |
480 call <sid>hi('goComplexes', s:cdBlueGreen, {}, 'none', {}) | |
481 call <sid>hi('goBuiltins', s:cdYellow, {}, 'none', {}) | |
482 call <sid>hi('goBoolean', s:cdBlue, {}, 'none', {}) | |
483 call <sid>hi('goPredefinedIdentifiers', s:cdBlue, {}, 'none', {}) | |
484 call <sid>hi('goTodo', s:cdGreen, {}, 'none', {}) | |
485 call <sid>hi('goDeclaration', s:cdBlue, {}, 'none', {}) | |
486 call <sid>hi('goDeclType', s:cdBlue, {}, 'none', {}) | |
487 call <sid>hi('goTypeDecl', s:cdBlue, {}, 'none', {}) | |
488 call <sid>hi('goTypeName', s:cdBlueGreen, {}, 'none', {}) | |
489 call <sid>hi('goVarAssign', s:cdLightBlue, {}, 'none', {}) | |
490 call <sid>hi('goVarDefs', s:cdLightBlue, {}, 'none', {}) | |
491 call <sid>hi('goReceiver', s:cdFront, {}, 'none', {}) | |
492 call <sid>hi('goReceiverType', s:cdFront, {}, 'none', {}) | |
493 call <sid>hi('goFunctionCall', s:cdYellow, {}, 'none', {}) | |
494 call <sid>hi('goMethodCall', s:cdYellow, {}, 'none', {}) | |
495 call <sid>hi('goSingleDecl', s:cdLightBlue, {}, 'none', {}) | |
496 | |
497 " Python: | |
498 call <sid>hi('pythonStatement', s:cdBlue, {}, 'none', {}) | |
499 call <sid>hi('pythonOperator', s:cdBlue, {}, 'none', {}) | |
500 call <sid>hi('pythonException', s:cdPink, {}, 'none', {}) | |
501 call <sid>hi('pythonExClass', s:cdBlueGreen, {}, 'none', {}) | |
502 call <sid>hi('pythonBuiltinObj', s:cdLightBlue, {}, 'none', {}) | |
503 call <sid>hi('pythonBuiltinType', s:cdBlueGreen, {}, 'none', {}) | |
504 call <sid>hi('pythonBoolean', s:cdBlue, {}, 'none', {}) | |
505 call <sid>hi('pythonNone', s:cdBlue, {}, 'none', {}) | |
506 call <sid>hi('pythonTodo', s:cdBlue, {}, 'none', {}) | |
507 call <sid>hi('pythonClassVar', s:cdBlue, {}, 'none', {}) | |
508 call <sid>hi('pythonClassDef', s:cdBlueGreen, {}, 'none', {}) | |
509 | |
510 " TeX: | |
511 call <sid>hi('texStatement', s:cdBlue, {}, 'none', {}) | |
512 call <sid>hi('texBeginEnd', s:cdYellow, {}, 'none', {}) | |
513 call <sid>hi('texBeginEndName', s:cdLightBlue, {}, 'none', {}) | |
514 call <sid>hi('texOption', s:cdLightBlue, {}, 'none', {}) | |
515 call <sid>hi('texBeginEndModifier', s:cdLightBlue, {}, 'none', {}) | |
516 call <sid>hi('texDocType', s:cdPink, {}, 'none', {}) | |
517 call <sid>hi('texDocTypeArgs', s:cdLightBlue, {}, 'none', {}) | |
518 | |
519 " Git: | |
520 call <sid>hi('gitcommitHeader', s:cdGray, {}, 'none', {}) | |
521 call <sid>hi('gitcommitOnBranch', s:cdGray, {}, 'none', {}) | |
522 call <sid>hi('gitcommitBranch', s:cdPink, {}, 'none', {}) | |
523 call <sid>hi('gitcommitComment', s:cdGray, {}, 'none', {}) | |
524 call <sid>hi('gitcommitSelectedType', s:cdGreen, {}, 'none', {}) | |
525 call <sid>hi('gitcommitSelectedFile', s:cdGreen, {}, 'none', {}) | |
526 call <sid>hi('gitcommitDiscardedType', s:cdRed, {}, 'none', {}) | |
527 call <sid>hi('gitcommitDiscardedFile', s:cdRed, {}, 'none', {}) | |
528 call <sid>hi('gitcommitOverflow', s:cdRed, {}, 'none', {}) | |
529 call <sid>hi('gitcommitSummary', s:cdPink, {}, 'none', {}) | |
530 call <sid>hi('gitcommitBlank', s:cdPink, {}, 'none', {}) | |
531 | |
532 " Lua: | |
533 call <sid>hi('luaFuncCall', s:cdYellow, {}, 'none', {}) | |
534 call <sid>hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) | |
535 call <sid>hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) | |
536 call <sid>hi('luaLocal', s:cdPink, {}, 'none', {}) | |
537 call <sid>hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) | |
538 | |
539 " SH: | |
540 call <sid>hi('shDeref', s:cdLightBlue, {}, 'none', {}) | |
541 call <sid>hi('shVariable', s:cdLightBlue, {}, 'none', {}) | |
542 | |
543 " SQL: | |
544 call <sid>hi('sqlKeyword', s:cdPink, {}, 'none', {}) | |
545 call <sid>hi('sqlFunction', s:cdYellowOrange, {}, 'none', {}) | |
546 call <sid>hi('sqlOperator', s:cdPink, {}, 'none', {}) | |
547 | |
548 " YAML: | |
549 call <sid>hi('yamlKey', s:cdBlue, {}, 'none', {}) | |
550 call <sid>hi('yamlConstant', s:cdBlue, {}, 'none', {}) | |
551 | |
552 " Coc Explorer: | |
553 call <sid>hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) |