606
|
1 " 'srcery.vim' -- Vim color scheme.
|
|
2 " Maintainer: Roosta (mail@roosta.sh)
|
|
3 " Corruptor: Kudabux
|
|
4 " Description: Colorscheme that focus ease of use and clearly defined contrasting colors with a slightly earthy tone.
|
|
5
|
|
6 if version > 580
|
|
7 hi clear
|
|
8 if exists("syntax_on")
|
|
9 syntax reset
|
|
10 endif
|
|
11 endif
|
|
12
|
|
13 let g:colors_name='srcery'
|
|
14
|
|
15 if !has('gui_running') && &t_Co != 256
|
|
16 finish
|
|
17 endif
|
|
18
|
|
19 " Palette {{{
|
|
20
|
|
21 let s:black = ["#1C1B19", 0]
|
|
22 let s:red = ["#FF3128", 1]
|
|
23 let s:green = ["#519F50", 2]
|
|
24 let s:yellow = ["#FBB829", 3]
|
|
25 let s:blue = ["#5573A3", 4]
|
|
26 let s:magenta = ["#E02C6D", 5]
|
|
27 let s:cyan = ["#0AAEB3", 6]
|
|
28 let s:gray = ["#918175", 7]
|
|
29 let s:bright_black = ["#2D2C29", 8]
|
|
30 let s:bright_red = ["#F75341", 9]
|
|
31 let s:bright_green = ["#98BC37", 10]
|
|
32 let s:bright_yellow = ["#FED06E", 11]
|
|
33 let s:bright_blue = ["#8EB2F7", 12]
|
|
34 let s:bright_magenta = ["#E35682", 13]
|
|
35 let s:bright_cyan = ["#53FDE9", 14]
|
|
36 let s:white = ["#FCE8C3", 15]
|
|
37
|
|
38 " default xterm colors.
|
|
39 let s:orange = ['#D75F00', 166]
|
|
40 let s:bright_orange = ['#FF8700', 208]
|
|
41 let s:hard_black = ['#080808', 232]
|
|
42 let s:gray_alt = ['#4E4E4E', 239]
|
|
43
|
|
44 "}}}
|
|
45 " Setup Variables: {{{
|
|
46
|
|
47 let s:none = ['NONE', 'NONE']
|
|
48
|
|
49 if !exists('g:srcery_bold')
|
|
50 let g:srcery_bold=1
|
|
51 endif
|
|
52
|
|
53 if !exists('g:srcery_italic')
|
|
54 if has('gui_running') || $TERM_ITALICS == 'true'
|
|
55 let g:srcery_italic=1
|
|
56 else
|
|
57 let g:srcery_italic=0
|
|
58 endif
|
|
59 endif
|
|
60
|
|
61 if !exists('g:srcery_undercurl')
|
|
62 let g:srcery_undercurl=1
|
|
63 endif
|
|
64
|
|
65 if !exists('g:srcery_underline')
|
|
66 let g:srcery_underline=1
|
|
67 endif
|
|
68
|
|
69 if !exists('g:srcery_inverse')
|
|
70 let g:srcery_inverse=1
|
|
71 endif
|
|
72
|
|
73 " }}}
|
|
74 " Setup Emphasis: {{{
|
|
75
|
|
76 let s:bold = 'bold,'
|
|
77 if g:srcery_bold == 0
|
|
78 let s:bold = ''
|
|
79 endif
|
|
80
|
|
81 let s:italic = 'italic,'
|
|
82 if g:srcery_italic == 0
|
|
83 let s:italic = ''
|
|
84 endif
|
|
85
|
|
86 let s:underline = 'underline,'
|
|
87 if g:srcery_underline == 0
|
|
88 let s:underline = ''
|
|
89 endif
|
|
90
|
|
91 let s:undercurl = 'undercurl,'
|
|
92 if g:srcery_undercurl == 0
|
|
93 let s:undercurl = ''
|
|
94 endif
|
|
95
|
|
96 let s:inverse = 'inverse,'
|
|
97 if g:srcery_inverse == 0
|
|
98 let s:inverse = ''
|
|
99 endif
|
|
100
|
|
101 " }}}
|
|
102 " Highlighting Function: {{{
|
|
103
|
|
104 function! s:HL(group, fg, ...)
|
|
105 " Arguments: group, guifg, guibg, gui, guisp
|
|
106
|
|
107 " foreground
|
|
108 let fg = a:fg
|
|
109
|
|
110 " background
|
|
111 if a:0 >= 1
|
|
112 let bg = a:1
|
|
113 else
|
|
114 let bg = s:none
|
|
115 endif
|
|
116
|
|
117 " emphasis
|
|
118 if a:0 >= 2 && strlen(a:2)
|
|
119 let emstr = a:2
|
|
120 else
|
|
121 let emstr = 'NONE,'
|
|
122 endif
|
|
123
|
|
124 let histring = [ 'hi', a:group,
|
|
125 \ 'guifg=' . fg[0], 'ctermfg=' . fg[1],
|
|
126 \ 'guibg=' . bg[0], 'ctermbg=' . bg[1],
|
|
127 \ 'gui=' . emstr[:-2], 'cterm=' . emstr[:-2]
|
|
128 \ ]
|
|
129
|
|
130 " special
|
|
131 if a:0 >= 3
|
|
132 call add(histring, 'guisp=' . a:3[0])
|
|
133 endif
|
|
134
|
|
135 execute join(histring, ' ')
|
|
136 endfunction
|
|
137 "}}}
|
|
138 " Srcery Hi Groups: {{{
|
|
139
|
|
140 " memoize common hi groups
|
|
141 call s:HL('SrceryWhite', s:white)
|
|
142 call s:HL('SrceryRed', s:red)
|
|
143 call s:HL('SrceryGreen', s:green)
|
|
144 call s:HL('SrceryYellow', s:yellow)
|
|
145 call s:HL('SrceryBlue', s:blue)
|
|
146 call s:HL('SrceryMagenta', s:magenta)
|
|
147 call s:HL('SrceryCyan', s:cyan)
|
|
148
|
|
149 call s:HL('SrceryRedbold', s:red, s:none, s:bold)
|
|
150 call s:HL('SrceryGreenbold', s:green, s:none, s:bold)
|
|
151 call s:HL('SrceryYellowbold', s:yellow, s:none, s:bold)
|
|
152 call s:HL('SrceryBluebold', s:blue, s:none, s:bold)
|
|
153 call s:HL('SrceryMagentabold', s:magenta, s:none, s:bold)
|
|
154 call s:HL('SrceryCyanbold', s:cyan, s:none, s:bold)
|
|
155
|
|
156 call s:HL('SrceryBrightRed', s:bright_red, s:none)
|
|
157 call s:HL('SrceryBrightGreen', s:bright_green, s:none)
|
|
158 call s:HL('SrceryBrightYellow', s:bright_yellow, s:none)
|
|
159 call s:HL('SrceryBrightBlue', s:bright_blue, s:none)
|
|
160 call s:HL('SrceryBrightMagenta', s:bright_magenta, s:none)
|
|
161 call s:HL('SrceryBrightCyan', s:bright_cyan, s:none)
|
|
162
|
|
163 " special
|
|
164 call s:HL('SrceryOrange', s:orange)
|
|
165 call s:HL('SrceryOrangeBold', s:orange, s:none, s:bold)
|
|
166 call s:HL('SrceryGrayAlt', s:gray_alt)
|
|
167 call s:HL('SrceryHardBlack', s:hard_black)
|
|
168
|
|
169 " }}}
|
|
170
|
|
171 " Vanilla colorscheme ---------------------------------------------------------
|
|
172 " General UI: {{{
|
|
173
|
|
174 " Normal text
|
|
175 call s:HL('Normal', s:white, s:black)
|
|
176
|
|
177 if version >= 700
|
|
178 " Screen line that the cursor is
|
|
179 call s:HL('CursorLine', s:none, s:bright_black)
|
|
180 " Screen column that the cursor is
|
|
181 hi! link CursorColumn CursorLine
|
|
182
|
|
183 " Tab pages line filler
|
|
184 call s:HL('TabLineFill', s:green, s:black)
|
|
185 " Active tab page label
|
|
186 call s:HL('TabLineSel', s:red, s:black, s:bold)
|
|
187 " Not active tab page label
|
|
188 hi! link TabLine TabLineFill
|
|
189
|
|
190 " Match paired bracket under the cursor
|
|
191 call s:HL('MatchParen', s:yellow, s:bright_black, s:bold)
|
|
192 endif
|
|
193
|
|
194 if version >= 703
|
|
195 " Highlighted screen columns
|
|
196 call s:HL('ColorColumn', s:none, s:bright_black)
|
|
197
|
|
198 " Concealed element: \lambda → λ
|
|
199 call s:HL('Conceal', s:blue, s:none)
|
|
200
|
|
201 " Line number of CursorLine
|
|
202 call s:HL('CursorLineNr', s:yellow, s:black)
|
|
203 endif
|
|
204
|
|
205 hi! link NonText SrceryGrayAlt
|
|
206 hi! link SpecialKey SrceryGrayAlt
|
|
207
|
|
208 call s:HL('Visual', s:none, s:black, s:inverse)
|
|
209 hi! link VisualNOS Visual
|
|
210
|
|
211 call s:HL('Search', s:black, s:yellow)
|
|
212 call s:HL('IncSearch', s:black, s:yellow)
|
|
213
|
|
214 call s:HL('Underlined', s:blue, s:none, s:underline)
|
|
215
|
|
216 call s:HL('StatusLine', s:white, s:bright_black)
|
|
217 call s:HL('StatusLineNC', s:white, s:bright_black, s:underline)
|
|
218
|
|
219 " The column separating vertically split windows
|
|
220 call s:HL('VertSplit', s:bright_black, s:bright_black)
|
|
221
|
|
222 " Current match in wildmenu completion
|
|
223 call s:HL('WildMenu', s:blue, s:black, s:bold)
|
|
224
|
|
225 " Directory names, special names in listing
|
|
226 hi! link Directory SrceryGreenBold
|
|
227
|
|
228 " Titles for output from :set all, :autocmd, etc.
|
|
229 hi! link Title SrceryGreenBold
|
|
230
|
|
231 " Error messages on the command line
|
|
232 call s:HL('ErrorMsg', s:white, s:red)
|
|
233 " More prompt: -- More --
|
|
234 hi! link MoreMsg SrceryYellowBold
|
|
235 " Current mode message: -- INSERT --
|
|
236 hi! link ModeMsg SrceryYellowBold
|
|
237 " 'Press enter' prompt and yes/no questions
|
|
238 hi! link Question SrceryOrangeBold
|
|
239 " Warning messages
|
|
240 hi! link WarningMsg SrceryRedBold
|
|
241
|
|
242 " }}}
|
|
243 " Gutter: {{{
|
|
244
|
|
245 " Line number for :number and :# commands
|
|
246 call s:HL('LineNr', s:gray)
|
|
247
|
|
248 " Column where signs are displayed
|
|
249 call s:HL('SignColumn', s:none, s:black)
|
|
250
|
|
251 " Line used for closed folds
|
|
252 call s:HL('Folded', s:gray, s:black, s:italic)
|
|
253 " Column where folds are displayed
|
|
254 call s:HL('FoldColumn', s:gray, s:black)
|
|
255
|
|
256 " }}}
|
|
257 " Cursor: {{{
|
|
258
|
|
259 " Character under cursor
|
|
260 call s:HL('Cursor', s:none, s:none, s:inverse)
|
|
261 " Visual mode cursor, selection
|
|
262 hi! link vCursor Cursor
|
|
263 " Input moder cursor
|
|
264 hi! link iCursor Cursor
|
|
265 " Language mapping cursor
|
|
266 hi! link lCursor Cursor
|
|
267
|
|
268 " }}}
|
|
269 " Syntax Highlighting: {{{
|
|
270
|
|
271 hi! link Special SrceryOrange
|
|
272
|
|
273 call s:HL('Comment', s:gray, s:none, s:italic)
|
|
274 call s:HL('Todo', s:white, s:black, s:bold . s:italic)
|
|
275 call s:HL('Error', s:red, s:black, s:bold . s:inverse)
|
|
276
|
|
277 " String constant: "this is a string"
|
|
278 call s:HL('String', s:bright_green)
|
|
279
|
|
280 " Generic statement
|
|
281 hi! link Statement SrceryRed
|
|
282 " if, then, else, endif, swicth, etc.
|
|
283 hi! link Conditional SrceryRed
|
|
284 " for, do, while, etc.
|
|
285 hi! link Repeat SrceryRed
|
|
286 " case, default, etc.
|
|
287 hi! link Label SrceryRed
|
|
288 " try, catch, throw
|
|
289 hi! link Exception SrceryRed
|
|
290 " sizeof, "+", "*", etc.
|
|
291 hi! link Operator Normal
|
|
292 " Any other keyword
|
|
293 hi! link Keyword SrceryRed
|
|
294
|
|
295 " Variable name
|
|
296 hi! link Identifier SrceryBlue
|
|
297 " Function name
|
|
298 hi! link Function SrceryGreenBold
|
|
299
|
|
300 " Generic preprocessor
|
|
301 hi! link PreProc SrceryCyan
|
|
302 " Preprocessor #include
|
|
303 hi! link Include SrceryCyan
|
|
304 " Preprocessor #define
|
|
305 hi! link Define SrceryCyan
|
|
306 " Same as Define
|
|
307 hi! link Macro SrceryCyan
|
|
308 " Preprocessor #if, #else, #endif, etc.
|
|
309 hi! link PreCondit SrceryCyan
|
|
310
|
|
311 " Generic constant
|
|
312 hi! link Constant SrceryBrightMagenta
|
|
313 " Character constant: 'c', '/n'
|
|
314 hi! link Character SrceryBrightMagenta
|
|
315 " Boolean constant: TRUE, false
|
|
316 hi! link Boolean SrceryBrightMagenta
|
|
317 " Number constant: 234, 0xff
|
|
318 hi! link Number SrceryBrightMagenta
|
|
319 " Floating point constant: 2.3e10
|
|
320 hi! link Float SrceryBrightMagenta
|
|
321
|
|
322 " Generic type
|
|
323 hi! link Type SrceryYellow
|
|
324 " static, register, volatile, etc
|
|
325 hi! link StorageClass SrceryOrange
|
|
326 " struct, union, enum, etc.
|
|
327 hi! link Structure SrceryCyan
|
|
328 " typedef
|
|
329 hi! link Typedef SrceryYellow
|
|
330
|
|
331 " }}}
|
|
332 " Completion Menu: {{{
|
|
333
|
|
334 if version >= 700
|
|
335 " Popup menu: normal item
|
|
336 call s:HL('Pmenu', s:white, s:black)
|
|
337 " Popup menu: selected item
|
|
338 call s:HL('PmenuSel', s:black, s:blue, s:bold)
|
|
339 " Popup menu: scrollbar
|
|
340 call s:HL('PmenuSbar', s:none, s:black)
|
|
341 " Popup menu: scrollbar thumb
|
|
342 call s:HL('PmenuThumb', s:none, s:black)
|
|
343 endif
|
|
344
|
|
345 " }}}
|
|
346 " Diffs: {{{
|
|
347
|
|
348 call s:HL('DiffDelete', s:red, s:black, s:inverse)
|
|
349 call s:HL('DiffAdd', s:green, s:black, s:inverse)
|
|
350 "call s:HL('DiffChange', s:black, s:blue)
|
|
351 "call s:HL('DiffText', s:black, s:yellow)
|
|
352
|
|
353 " Alternative setting
|
|
354 call s:HL('DiffChange', s:cyan, s:black, s:inverse)
|
|
355 call s:HL('DiffText', s:yellow, s:black, s:inverse)
|
|
356
|
|
357 " }}}
|
|
358 " Spelling: {{{
|
|
359
|
|
360 if has("spell")
|
|
361 " Not capitalised word, or compile warnings
|
|
362 call s:HL('SpellCap', s:green, s:none, s:bold . s:italic)
|
|
363 " Not recognized word
|
|
364 call s:HL('SpellBad', s:none, s:none, s:undercurl, s:blue)
|
|
365 " Wrong spelling for selected region
|
|
366 call s:HL('SpellLocal', s:none, s:none, s:undercurl, s:cyan)
|
|
367 " Rare word
|
|
368 call s:HL('SpellRare', s:none, s:none, s:undercurl, s:magenta)
|
|
369 endif
|
|
370
|
|
371 " }}}
|
|
372
|
|
373 " Plugin specific -------------------------------------------------------------
|
|
374 " Sneak: {{{
|
|
375
|
|
376 hi! link SneakPluginTarget Search
|
|
377 hi! link SneakStreakTarget Search
|
|
378 call s:HL('SneakStreakMask', s:yellow, s:yellow)
|
|
379 hi! link SneakStreakStatusLine Search
|
|
380
|
|
381 " }}}
|
|
382 " Rainbow Parentheses: {{{
|
|
383
|
|
384 if !exists('g:rbpt_colorpairs')
|
|
385 let g:rbpt_colorpairs =
|
|
386 \ [
|
|
387 \ ['blue', '#458588'], ['magenta', '#b16286'],
|
|
388 \ ['red', '#cc241d'], ['166', '#d65d0e']
|
|
389 \ ]
|
|
390 endif
|
|
391
|
|
392 let g:rainbow_guifgs = [ '#d65d0e', '#cc241d', '#b16286', '#458588' ]
|
|
393 let g:rainbow_ctermfgs = [ '166', 'red', 'magenta', 'blue' ]
|
|
394
|
|
395 if !exists('g:rainbow_conf')
|
|
396 let g:rainbow_conf = {}
|
|
397 endif
|
|
398 if !has_key(g:rainbow_conf, 'guifgs')
|
|
399 let g:rainbow_conf['guifgs'] = g:rainbow_guifgs
|
|
400 endif
|
|
401 if !has_key(g:rainbow_conf, 'ctermfgs')
|
|
402 let g:rainbow_conf['ctermfgs'] = g:rainbow_ctermfgs
|
|
403 endif
|
|
404
|
|
405 let g:niji_dark_colours = g:rbpt_colorpairs
|
|
406 let g:niji_light_colours = g:rbpt_colorpairs
|
|
407
|
|
408 "}}}
|
|
409 " GitGutter: {{{
|
|
410
|
|
411 hi! link GitGutterAdd SrceryGreen
|
|
412 hi! link GitGutterChange SrceryCyan
|
|
413 hi! link GitGutterDelete SrceryRed
|
|
414 hi! link GitGutterChangeDelete SrceryCyan
|
|
415
|
|
416 " }}}
|
|
417 " GitCommit: "{{{
|
|
418
|
|
419 hi! link gitcommitSelectedFile SrceryGreen
|
|
420 hi! link gitcommitDiscardedFile SrceryRed
|
|
421
|
|
422 " }}}
|
|
423
|
|
424 " Filetype specific -----------------------------------------------------------
|
|
425 " Diff: {{{
|
|
426
|
|
427 hi! link diffAdded SrceryGreen
|
|
428 hi! link diffRemoved SrceryRed
|
|
429 hi! link diffChanged SrceryCyan
|
|
430
|
|
431 hi! link diffFile SrceryOrange
|
|
432 hi! link diffNewFile SrceryYellow
|
|
433
|
|
434 hi! link diffLine SrceryBlue
|
|
435
|
|
436 " }}}
|
|
437 " Html: {{{
|
|
438
|
|
439 hi! link htmlTag SrceryBlue
|
|
440 hi! link htmlEndTag SrceryBlue
|
|
441
|
|
442 hi! link htmlTagName SrceryCyanBold
|
|
443 hi! link htmlArg SrceryCyan
|
|
444
|
|
445 hi! link htmlScriptTag SrceryMagenta
|
|
446 hi! link htmlTagN SrceryFg1
|
|
447 hi! link htmlSpecialTagName SrceryCyanBold
|
|
448
|
|
449 call s:HL('htmlLink', s:white, s:none, s:underline)
|
|
450
|
|
451 hi! link htmlSpecialChar SrceryYellow
|
|
452
|
|
453 call s:HL('htmlBold', s:white, s:black, s:bold)
|
|
454 call s:HL('htmlBoldUnderline', s:white, s:black, s:bold . s:underline)
|
|
455 call s:HL('htmlBoldItalic', s:white, s:black, s:bold . s:italic)
|
|
456 call s:HL('htmlBoldUnderlineItalic', s:white, s:black, s:bold . s:underline . s:italic)
|
|
457
|
|
458 call s:HL('htmlUnderline', s:white, s:black, s:underline)
|
|
459 call s:HL('htmlUnderlineItalic', s:white, s:black, s:underline . s:italic)
|
|
460 call s:HL('htmlItalic', s:white, s:black, s:italic)
|
|
461
|
|
462 " }}}
|
|
463 " Xml: {{{
|
|
464
|
|
465 hi! link xmlTag SrceryBlue
|
|
466 hi! link xmlEndTag SrceryBlue
|
|
467 hi! link xmlTagName SrceryBlue
|
|
468 hi! link xmlEqual SrceryBlue
|
|
469 hi! link docbkKeyword SrceryCyanBold
|
|
470
|
|
471 hi! link xmlDocTypeDecl SrceryGray
|
|
472 hi! link xmlDocTypeKeyword SrceryMagenta
|
|
473 hi! link xmlCdataStart SrceryGray
|
|
474 hi! link xmlCdataCdata SrceryMagenta
|
|
475 hi! link dtdFunction SrceryGray
|
|
476 hi! link dtdTagName SrceryMagenta
|
|
477
|
|
478 hi! link xmlAttrib SrceryCyan
|
|
479 hi! link xmlProcessingDelim SrceryGray
|
|
480 hi! link dtdParamEntityPunct SrceryGray
|
|
481 hi! link dtdParamEntityDPunct SrceryGray
|
|
482 hi! link xmlAttribPunct SrceryGray
|
|
483
|
|
484 hi! link xmlEntity SrceryYellow
|
|
485 hi! link xmlEntityPunct SrceryYellow
|
|
486 " }}}
|
|
487 " Vim: {{{
|
|
488
|
|
489 call s:HL('vimCommentTitle', s:white, s:none, s:bold . s:italic)
|
|
490
|
|
491 hi! link vimNotation SrceryYellow
|
|
492 hi! link vimBracket SrceryYellow
|
|
493 hi! link vimMapModKey SrceryYellow
|
|
494 hi! link vimFuncSID SrceryWhite
|
|
495 hi! link vimSetSep SrceryWhite
|
|
496 hi! link vimSep SrceryWhite
|
|
497 hi! link vimContinue SrceryWhite
|
|
498
|
|
499 " }}}
|
|
500 " Clojure: {{{
|
|
501
|
|
502 hi! link clojureKeyword SrceryBlue
|
|
503 hi! link clojureCond SrceryOrange
|
|
504 hi! link clojureSpecial SrceryOrange
|
|
505 hi! link clojureDefine SrceryOrange
|
|
506
|
|
507 hi! link clojureFunc SrceryYellow
|
|
508 hi! link clojureRepeat SrceryYellow
|
|
509 hi! link clojureCharacter SrceryCyan
|
|
510 hi! link clojureStringEscape SrceryCyan
|
|
511 hi! link clojureException SrceryRed
|
|
512
|
|
513 hi! link clojureRegexp SrceryCyan
|
|
514 hi! link clojureRegexpEscape SrceryCyan
|
|
515 call s:HL('clojureRegexpCharClass', s:white, s:none, s:bold)
|
|
516 hi! link clojureRegexpMod clojureRegexpCharClass
|
|
517 hi! link clojureRegexpQuantifier clojureRegexpCharClass
|
|
518
|
|
519 hi! link clojureParen SrceryFg3
|
|
520 hi! link clojureAnonArg SrceryYellow
|
|
521 hi! link clojureVariable SrceryBlue
|
|
522 hi! link clojureMacro SrceryOrange
|
|
523
|
|
524 hi! link clojureMeta SrceryYellow
|
|
525 hi! link clojureDeref SrceryYellow
|
|
526 hi! link clojureQuote SrceryYellow
|
|
527 hi! link clojureUnquote SrceryYellow
|
|
528 " }}}
|
|
529 " C: {{{
|
|
530
|
|
531 hi! link cOperator SrceryMagenta
|
|
532 hi! link cStructure SrceryYellow
|
|
533
|
|
534 " }}}
|
|
535 " Python: {{{
|
|
536
|
|
537 hi! link pythonBuiltin SrceryYellow
|
|
538 hi! link pythonBuiltinObj SrceryYellow
|
|
539 hi! link pythonBuiltinFunc SrceryYellow
|
|
540 hi! link pythonFunction SrceryCyan
|
|
541 hi! link pythonDecorator SrceryRed
|
|
542 hi! link pythonInclude SrceryBlue
|
|
543 hi! link pythonImport SrceryBlue
|
|
544 hi! link pythonRun SrceryBlue
|
|
545 hi! link pythonCoding SrceryBlue
|
|
546 hi! link pythonOperator SrceryRed
|
|
547 hi! link pythonExceptions SrceryMagenta
|
|
548 hi! link pythonBoolean SrceryMagenta
|
|
549 hi! link pythonDot SrceryWhite
|
|
550
|
|
551 " }}}
|
|
552 " CSS: {{{
|
|
553
|
|
554 hi! link cssBraces SrceryBlue
|
|
555 hi! link cssFunctionName SrceryYellow
|
|
556 hi! link cssIdentifier SrceryYellow
|
|
557 hi! link cssClassName SrceryGreen
|
|
558 hi! link cssColor SrceryBlue
|
|
559 hi! link cssSelectorOp SrceryBlue
|
|
560 hi! link cssSelectorOp2 SrceryBlue
|
|
561 hi! link cssImportant SrceryGreen
|
|
562 hi! link cssVendor SrceryFg1
|
|
563
|
|
564 hi! link cssTextProp SrceryCyan
|
|
565 hi! link cssAnimationProp SrceryCyan
|
|
566 hi! link cssUIProp SrceryYellow
|
|
567 hi! link cssTransformProp SrceryCyan
|
|
568 hi! link cssTransitionProp SrceryCyan
|
|
569 hi! link cssPrintProp SrceryCyan
|
|
570 hi! link cssPositioningProp SrceryYellow
|
|
571 hi! link cssBoxProp SrceryCyan
|
|
572 hi! link cssFontDescriptorProp SrceryCyan
|
|
573 hi! link cssFlexibleBoxProp SrceryCyan
|
|
574 hi! link cssBorderOutlineProp SrceryCyan
|
|
575 hi! link cssBackgroundProp SrceryCyan
|
|
576 hi! link cssMarginProp SrceryCyan
|
|
577 hi! link cssListProp SrceryCyan
|
|
578 hi! link cssTableProp SrceryCyan
|
|
579 hi! link cssFontProp SrceryCyan
|
|
580 hi! link cssPaddingProp SrceryCyan
|
|
581 hi! link cssDimensionProp SrceryCyan
|
|
582 hi! link cssRenderProp SrceryCyan
|
|
583 hi! link cssColorProp SrceryCyan
|
|
584 hi! link cssGeneratedContentProp SrceryCyan
|
|
585
|
|
586 " }}}
|
|
587 " JavaScript: {{{
|
|
588
|
|
589 hi! link javaScriptBraces SrceryFg1
|
|
590 hi! link javaScriptFunction SrceryCyan
|
|
591 hi! link javaScriptIdentifier SrceryRed
|
|
592 hi! link javaScriptMember SrceryBlue
|
|
593 hi! link javaScriptNumber SrceryMagenta
|
|
594 hi! link javaScriptNull SrceryMagenta
|
|
595 hi! link javaScriptParens SrceryWhite
|
|
596
|
|
597 " }}}
|
|
598 " YAJS: {{{
|
|
599
|
|
600 hi! link javascriptImport SrceryCyan
|
|
601 hi! link javascriptExport SrceryCyan
|
|
602 hi! link javascriptClassKeyword SrceryCyan
|
|
603 hi! link javascriptClassExtends SrceryCyan
|
|
604 hi! link javascriptDefault SrceryCyan
|
|
605
|
|
606 hi! link javascriptClassName SrceryYellow
|
|
607 hi! link javascriptClassSuperName SrceryYellow
|
|
608 hi! link javascriptGlobal SrceryYellow
|
|
609
|
|
610 hi! link javascriptEndColons SrceryFg1
|
|
611 hi! link javascriptFuncArg SrceryFg1
|
|
612 hi! link javascriptGlobalMethod SrceryFg1
|
|
613 hi! link javascriptNodeGlobal SrceryFg1
|
|
614
|
|
615 " hi! link javascriptVariable SrceryYellow
|
|
616 hi! link javascriptVariable SrceryRed
|
|
617 " hi! link javascriptIdentifier SrceryYellow
|
|
618 " hi! link javascriptClassSuper SrceryYellow
|
|
619 hi! link javascriptIdentifier SrceryYellow
|
|
620 hi! link javascriptClassSuper SrceryYellow
|
|
621
|
|
622 " hi! link javascriptFuncKeyword SrceryYellow
|
|
623 " hi! link javascriptAsyncFunc SrceryYellow
|
|
624 hi! link javascriptFuncKeyword SrceryCyan
|
|
625 hi! link javascriptAsyncFunc SrceryCyan
|
|
626 hi! link javascriptClassStatic SrceryYellow
|
|
627
|
|
628 hi! link javascriptOperator SrceryRed
|
|
629 hi! link javascriptForOperator SrceryRed
|
|
630 hi! link javascriptYield SrceryRed
|
|
631 hi! link javascriptExceptions SrceryRed
|
|
632 hi! link javascriptMessage SrceryRed
|
|
633
|
|
634 hi! link javascriptTemplateSB SrceryCyan
|
|
635 hi! link javascriptTemplateSubstitution SrceryFg1
|
|
636
|
|
637 " hi! link javascriptLabel SrceryBlue
|
|
638 " hi! link javascriptObjectLabel SrceryBlue
|
|
639 " hi! link javascriptPropertyName SrceryBlue
|
|
640 hi! link javascriptLabel SrceryFg1
|
|
641 hi! link javascriptObjectLabel SrceryFg1
|
|
642 hi! link javascriptPropertyName SrceryFg1
|
|
643
|
|
644 hi! link javascriptLogicSymbols SrceryFg1
|
|
645 hi! link javascriptArrowFunc SrceryFg1
|
|
646
|
|
647 hi! link javascriptDocParamName SrceryFg4
|
|
648 hi! link javascriptDocTags SrceryFg4
|
|
649 hi! link javascriptDocNotation SrceryFg4
|
|
650 hi! link javascriptDocParamType SrceryFg4
|
|
651 hi! link javascriptDocNamedParamType SrceryFg4
|
|
652
|
|
653 " }}}
|
|
654 " CoffeeScript: {{{
|
|
655
|
|
656 hi! link coffeeExtendedOp SrceryWhite
|
|
657 hi! link coffeeSpecialOp SrceryWhite
|
|
658 hi! link coffeeCurly SrceryYellow
|
|
659 hi! link coffeeParen SrceryWhite
|
|
660 hi! link coffeeBracket SrceryYellow
|
|
661
|
|
662 " }}}
|
|
663 " Ruby: {{{
|
|
664
|
|
665 hi! link rubyStringDelimiter SrceryGreen
|
|
666 hi! link rubyInterpolationDelimiter SrceryCyan
|
|
667
|
|
668 " }}}
|
|
669 " ObjectiveC: {{{
|
|
670
|
|
671 hi! link objcTypeModifier SrceryRed
|
|
672 hi! link objcDirective SrceryBlue
|
|
673
|
|
674 " }}}
|
|
675 " Go: {{{
|
|
676
|
|
677 hi! link goDirective SrceryCyan
|
|
678 hi! link goConstants SrceryMagenta
|
|
679 hi! link goDeclaration SrceryRed
|
|
680 hi! link goDeclType SrceryBlue
|
|
681 hi! link goBuiltins SrceryYellow
|
|
682
|
|
683 " }}}
|
|
684 " Lua: {{{
|
|
685
|
|
686 hi! link luaIn SrceryRed
|
|
687 hi! link luaFunction SrceryCyan
|
|
688 hi! link luaTable SrceryYellow
|
|
689
|
|
690 " }}}
|
|
691 " MoonScript: {{{
|
|
692
|
|
693 hi! link moonSpecialOp SrceryWhite
|
|
694 hi! link moonExtendedOp SrceryWhite
|
|
695 hi! link moonFunction SrceryWhite
|
|
696 hi! link moonObject SrceryYellow
|
|
697
|
|
698 " }}}
|
|
699 " Java: {{{
|
|
700
|
|
701 hi! link javaAnnotation SrceryBlue
|
|
702 hi! link javaDocTags SrceryCyan
|
|
703 hi! link javaCommentTitle vimCommentTitle
|
|
704 hi! link javaParen SrceryWhite
|
|
705 hi! link javaParen1 SrceryWhite
|
|
706 hi! link javaParen2 SrceryWhite
|
|
707 hi! link javaParen3 SrceryWhite
|
|
708 hi! link javaParen4 SrceryWhite
|
|
709 hi! link javaParen5 SrceryWhite
|
|
710 hi! link javaOperator SrceryYellow
|
|
711
|
|
712 hi! link javaVarArg SrceryGreen
|
|
713
|
|
714 " }}}
|
|
715 " Elixir: {{{
|
|
716
|
|
717 hi! link elixirDocString Comment
|
|
718
|
|
719 hi! link elixirStringDelimiter SrceryGreen
|
|
720 hi! link elixirInterpolationDelimiter SrceryCyan
|
|
721
|
|
722 " }}}
|
|
723 " Scala: {{{
|
|
724
|
|
725 " NB: scala vim syntax file is kinda horrible
|
|
726 hi! link scalaNameDefinition SrceryFg1
|
|
727 hi! link scalaCaseFollowing SrceryFg1
|
|
728 hi! link scalaCapitalWord SrceryFg1
|
|
729 hi! link scalaTypeExtension SrceryFg1
|
|
730
|
|
731 hi! link scalaKeyword SrceryRed
|
|
732 hi! link scalaKeywordModifier SrceryRed
|
|
733
|
|
734 hi! link scalaSpecial SrceryCyan
|
|
735 hi! link scalaOperator SrceryFg1
|
|
736
|
|
737 hi! link scalaTypeDeclaration SrceryYellow
|
|
738 hi! link scalaTypeTypePostDeclaration SrceryYellow
|
|
739
|
|
740 hi! link scalaInstanceDeclaration SrceryFg1
|
|
741 hi! link scalaInterpolation SrceryCyan
|
|
742
|
|
743 " }}}
|
|
744 " Markdown: {{{
|
|
745
|
|
746 call s:HL('markdownItalic', s:white, s:none, s:italic)
|
|
747
|
|
748 hi! link markdownH1 SrceryGreenBold
|
|
749 hi! link markdownH2 SrceryGreenBold
|
|
750 hi! link markdownH3 SrceryYellowBold
|
|
751 hi! link markdownH4 SrceryYellowBold
|
|
752 hi! link markdownH5 SrceryYellow
|
|
753 hi! link markdownH6 SrceryYellow
|
|
754
|
|
755 hi! link markdownCode SrceryCyan
|
|
756 hi! link markdownCodeBlock SrceryCyan
|
|
757 hi! link markdownCodeDelimiter SrceryCyan
|
|
758
|
|
759 hi! link markdownBlockquote SrceryGray
|
|
760 hi! link markdownListMarker SrceryGray
|
|
761 hi! link markdownOrderedListMarker SrceryGray
|
|
762 hi! link markdownRule SrceryGray
|
|
763 hi! link markdownHeadingRule SrceryGray
|
|
764
|
|
765 hi! link markdownUrlDelimiter SrceryWhite
|
|
766 hi! link markdownLinkDelimiter SrceryWhite
|
|
767 hi! link markdownLinkTextDelimiter SrceryWhite
|
|
768
|
|
769 hi! link markdownHeadingDelimiter SrceryYellow
|
|
770 hi! link markdownUrl SrceryMagenta
|
|
771 hi! link markdownUrlTitleDelimiter SrceryGreen
|
|
772
|
|
773 call s:HL('markdownLinkText', s:gray, s:none, s:underline)
|
|
774 hi! link markdownIdDeclaration markdownLinkText
|
|
775
|
|
776 " }}}
|
|
777 " Haskell: {{{
|
|
778
|
|
779 " hi! link haskellType SrceryYellow
|
|
780 " hi! link haskellOperators SrceryYellow
|
|
781 " hi! link haskellConditional SrceryCyan
|
|
782 " hi! link haskellLet SrceryYellow
|
|
783 "
|
|
784 hi! link haskellType SrceryFg1
|
|
785 hi! link haskellIdentifier SrceryFg1
|
|
786 hi! link haskellSeparator SrceryFg1
|
|
787 hi! link haskellDelimiter SrceryFg4
|
|
788 hi! link haskellOperators SrceryBlue
|
|
789 "
|
|
790 hi! link haskellBacktick SrceryYellow
|
|
791 hi! link haskellStatement SrceryYellow
|
|
792 hi! link haskellConditional SrceryYellow
|
|
793
|
|
794 hi! link haskellLet SrceryCyan
|
|
795 hi! link haskellDefault SrceryCyan
|
|
796 hi! link haskellWhere SrceryCyan
|
|
797 hi! link haskellBottom SrceryCyan
|
|
798 hi! link haskellBlockKeywords SrceryCyan
|
|
799 hi! link haskellImportKeywords SrceryCyan
|
|
800 hi! link haskellDeclKeyword SrceryCyan
|
|
801 hi! link haskellDeriving SrceryCyan
|
|
802 hi! link haskellAssocType SrceryCyan
|
|
803
|
|
804 hi! link haskellNumber SrceryMagenta
|
|
805 hi! link haskellPragma SrceryMagenta
|
|
806
|
|
807 hi! link haskellString SrceryGreen
|
|
808 hi! link haskellChar SrceryGreen
|
|
809
|
|
810 " }}}
|
|
811 " Json: {{{
|
|
812
|
|
813 hi! link jsonKeyword SrceryGreen
|
|
814 hi! link jsonQuote SrceryGreen
|
|
815 hi! link jsonBraces SrceryFg1
|
|
816 hi! link jsonString SrceryFg1
|
|
817
|
|
818 " }}}
|
|
819
|
|
820 " vim: set sw=2 ts=2 sts=2 et tw=80 ft=vim fdm=marker:
|