-
Notifications
You must be signed in to change notification settings - Fork 1
/
CandyPaper.vim
510 lines (466 loc) · 18.3 KB
/
CandyPaper.vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
" Theme: CandyPaper
" Author: DF_XYZ
" License: MIT
set background=dark
hi clear
if exists('syntax_on')
syntax reset
endif
let g:colors_name = "CandyPaper"
" Palette:
let s:pink = "#de6fa6" "Include/Exception
let s:mongo = "#dfde00" "Boolean/Special
let s:aqua = "#6fd5de" "Keyword
let s:green = "#6fde7c" "Type
let s:yellow = "#dfad59" "String
let s:orange = "#de7e38" "StorageClass
let s:red = "#de4638" "Number
let s:purple = "#a270df" "Repeat/Conditional
let s:blue = "#6fb5de" "Operator/Delimiter
" Basic:
let s:foreground = "#dddddd"
let s:background = "#050505"
let s:nontext = "#5a805a"
let s:window = "#4d4d4d"
let s:divider = "#ccc9ae"
let s:matchparen = "#00805a"
let s:linenumber = "#807c6d"
let s:comment = "#5a805a"
let s:todo = "#bcddbc"
let s:error = "#de0000"
" Cursor:
let s:cursor_fg = "#050505"
let s:cursor_bg = "#dede9b"
let s:cursor_im_fg = "#050505"
let s:cursor_im_bg = "#9b9bde"
let s:cursorline = "#262626"
let s:cursorcolumn = "#262626"
" ColorColumn:
let s:colorcolumn = "#800000"
" Diff:
let s:difftext_bg = "#cbb766"
let s:diffadd_bg = "#264d26"
let s:diffdel_bg = "#4d0000"
let s:diffmod_bg = "#4d264d"
" Folded:
let s:folded_fg = "#dddddd"
let s:folded_bg = "#414d41"
" PMenu:
let s:pmenu_fg = "#050505"
let s:pmenu_bg = "#ccc5ad"
let s:pmenu_sel_fg = "#dddddd"
let s:pmenu_sel_bg = "#203780"
let s:pmenu_sbar = "#4d4a41"
let s:pmenu_thumb = "#ccccad"
" Search:
let s:search_fg = "#dddddd"
let s:search_bg = "#00805a"
let s:incsearch_fg = "#050505"
let s:incsearch_bg = "#dec837"
" StatusLine:
let s:statusline_active_fg = "#050505"
let s:statusline_active_bg = "#cbc8ad"
let s:statusline_inactive_fg = "#dddddd"
let s:statusline_inactive_bg = "#4a4d42"
" TabLine:
let s:tabline_bg = "#cbc8ad"
let s:tabline_active_fg = "#dddddd"
let s:tabline_active_bg = "#050505"
let s:tabline_inactive_fg = "#050505"
let s:tabline_inactive_bg = "#cbc8ad"
" Visual:
let s:visual_fg = "#dddddd"
let s:visual_bg = "#2A3B4D"
" Returns an approximate grey index for the given grey level
function <SID>grey_number(x)
if a:x < 14
return 0
else
let l:n = (a:x - 8) / 10
let l:m = (a:x - 8) % 10
if l:m < 5
return l:n
else
return l:n + 1
endi
endif
endfunction
" Returns the actual grey level represented by the grey index
function <SID>grey_level(n)
if a:n == 0
return 0
else
return 8 + (a:n * 10)
endif
endfunction
" Returns the palette index for the given grey index
function <SID>grey_colour(n)
if a:n == 0
return 16
elseif a:n == 25
return 231
else
return 231 + a:n
endif
endfunction
" Returns an approximate colour index for the given colour level
function <SID>rgb_number(x)
if a:x < 75
return 0
else
let l:n = (a:x - 55) / 40
let l:m = (a:x - 55) % 40
if l:m < 20
return l:n
else
return l:n + 1
endif
endif
endfunction
" Returns the actual colour level for the given colour index
function <SID>rgb_level(n)
if a:n == 0
return 0
else
return 55 + (a:n * 40)
endif
endfunction
" Returns the palette index for the given R/G/B colour indices
function <SID>rgb_colour(x, y, z)
return 16 + (a:x * 36) + (a:y * 6) + a:z
endfunction
" Returns the palette index to approximate the given R/G/B colour levels
function <SID>colour(r, g, b)
" Get the closest grey
let l:gx = <SID>grey_number(a:r)
let l:gy = <SID>grey_number(a:g)
let l:gz = <SID>grey_number(a:b)
" Get the closest colour
let l:x = <SID>rgb_number(a:r)
let l:y = <SID>rgb_number(a:g)
let l:z = <SID>rgb_number(a:b)
if l:gx == l:gy && l:gy == l:gz
" There are two possibilities
let l:dgr = <SID>grey_level(l:gx) - a:r
let l:dgg = <SID>grey_level(l:gy) - a:g
let l:dgb = <SID>grey_level(l:gz) - a:b
let l:dgrey = (l:dgr * l:dgr) + (l:dgg * l:dgg) + (l:dgb * l:dgb)
let l:dr = <SID>rgb_level(l:gx) - a:r
let l:dg = <SID>rgb_level(l:gy) - a:g
let l:db = <SID>rgb_level(l:gz) - a:b
let l:drgb = (l:dr * l:dr) + (l:dg * l:dg) + (l:db * l:db)
if l:dgrey < l:drgb
" Use the grey
return <SID>grey_colour(l:gx)
else
" Use the colour
return <SID>rgb_colour(l:x, l:y, l:z)
endif
else
" Only one possibility
return <SID>rgb_colour(l:x, l:y, l:z)
endif
endfunction
" Returns the palette index to approximate the '#rrggbb' hex string
function <SID>rgb(rgb)
let l:r = ("0x" . strpart(a:rgb, 1, 2)) + 0
let l:g = ("0x" . strpart(a:rgb, 3, 2)) + 0
let l:b = ("0x" . strpart(a:rgb, 5, 2)) + 0
return <SID>colour(l:r, l:g, l:b)
endfunction
" Sets the highlighting for the given group
function <SID>X(group, fg, bg, attr)
if a:fg != ""
exec "hi " . a:group . " guifg=" . a:fg . " ctermfg=" . <SID>rgb(a:fg)
endif
if a:bg != ""
exec "hi " . a:group . " guibg=" . a:bg . " ctermbg=" . <SID>rgb(a:bg)
endif
if a:attr != ""
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr
endif
endfunction
" UI Highlighting
call <SID>X("Normal", s:foreground, s:background, "none")
call <SID>X("NonText", s:nontext, "", "none")
call <SID>X("SpecialKey", s:nontext, "", "none")
call <SID>X("Search", s:search_fg, s:search_bg, "none")
call <SID>X("IncSearch", s:incsearch_fg, s:incsearch_bg, "none")
call <SID>X("LineNr", s:linenumber, "", "none")
call <SID>X("TabLine", s:tabline_inactive_fg, s:tabline_inactive_bg, "none")
call <SID>X("TabLineFill", "", s:tabline_bg, "none")
call <SID>X("TabLineSel", s:tabline_active_fg, s:tabline_active_bg, "none")
call <SID>X("StatusLine", s:statusline_active_fg, s:statusline_active_bg, "none")
call <SID>X("StatusLineNC", s:statusline_inactive_fg, s:statusline_inactive_bg, "none")
call <SID>X("VertSplit", s:divider, s:background, "none")
call <SID>X("Visual", s:visual_fg, s:visual_bg, "none")
call <SID>X("Directory", s:aqua, "", "none")
call <SID>X("ModeMsg", s:yellow, "", "none")
call <SID>X("MoreMsg", s:yellow, "", "none")
call <SID>X("Question", s:yellow, "", "none")
call <SID>X("WarningMsg", s:green, "", "none")
call <SID>X("MatchParen", s:mongo, s:matchparen, "none")
call <SID>X("Folded", s:folded_fg, s:folded_bg, "none")
call <SID>X("FoldColumn", "", s:background, "none")
call <SID>X("Cursor", s:cursor_fg, s:cursor_bg, "none")
call <SID>X("CursorIM", s:cursor_im_fg, s:cursor_im_bg, "none")
call <SID>X("CursorLine", "", s:cursorline, "none")
call <SID>X("CursorColumn", "", s:cursorcolumn, "none")
call <SID>X("ColorColumn", "", s:colorcolumn, "none")
call <SID>X("DiffText", s:background, s:difftext_bg, "none")
call <SID>X("DiffAdd", s:foreground, s:diffadd_bg, "none")
call <SID>X("DiffDelete", s:diffdel_bg, s:diffdel_bg, "none")
call <SID>X("DiffChange", s:foreground, s:diffmod_bg, "none")
call <SID>X("SignColumn", "", s:background, "none")
call <SID>X("PMenu", s:pmenu_fg, s:pmenu_bg, "none")
call <SID>X("PMenuSel", s:pmenu_sel_fg, s:pmenu_sel_bg, "none")
call <SID>X("PMenuSBar", "", s:pmenu_sbar, "none")
call <SID>X("PMenuThumb", s:pmenu_thumb, "", "none")
" Standard Group Highlighting:
call <SID>X("Boolean", s:mongo, "", "none")
call <SID>X("Character", s:yellow, "", "none")
call <SID>X("Comment", s:comment, "", "none")
call <SID>X("Conditional", s:purple, "", "none")
call <SID>X("Constant", s:red, "", "none")
call <SID>X("Debug", s:red, "", "none")
call <SID>X("Define", s:aqua, "", "none")
call <SID>X("Delimiter",s:blue, "", "none")
call <SID>X("Error", s:foreground, s:error, "none")
call <SID>X("Exception", s:pink, "", "none")
call <SID>X("Float", s:red, "", "none")
call <SID>X("Function", s:foreground, "", "none")
call <SID>X("Global", s:aqua, "", "none")
call <SID>X("Identifier", s:orange, "", "none")
call <SID>X("Include", s:pink, "", "none")
call <SID>X("Keyword", s:aqua, "", "none")
call <SID>X("Label", s:aqua, "", "none")
call <SID>X("Macro", s:aqua, "", "none")
call <SID>X("Number", s:red, "", "none")
call <SID>X("Operator", s:blue, "", "none")
call <SID>X("PreProc", s:aqua, "", "none")
call <SID>X("Repeat", s:purple, "", "none")
call <SID>X("Special", s:mongo, "", "none")
call <SID>X("Statement", s:green, "", "none")
call <SID>X("String", s:yellow, "", "none")
call <SID>X("Tag", s:mongo, "", "none")
call <SID>X("Todo", s:todo, s:background, "none")
call <SID>X("Title", s:comment, "", "none")
call <SID>X("Type", s:green, "", "none")
call <SID>X("Typedef", s:green, "", "none")
call <SID>X("PreCondit", s:blue, "", "none")
call <SID>X("SpecialChar", s:foreground, "", "none")
call <SID>X("StorageClass", s:orange, "", "none")
call <SID>X("Structure", s:aqua, "", "none")
call <SID>X("SpecialComment", s:comment, "", "none")
" C Highlighting
call <SID>X("cType", s:green, "", "none")
call <SID>X("cFormat", s:yellow, "", "none")
call <SID>X("cStorageClass", s:orange, "", "none")
call <SID>X("cBoolean", s:mongo, "", "none")
call <SID>X("cCharacter", s:yellow, "", "none")
call <SID>X("cConstant", s:mongo, "", "none")
call <SID>X("cConditional", s:purple, "", "none")
call <SID>X("cSpecial", s:yellow, "", "none")
call <SID>X("cDefine", s:aqua, "", "none")
call <SID>X("cNumber", s:red, "", "none")
call <SID>X("cPreCondit", s:blue, "", "none")
call <SID>X("cRepeat", s:purple, "", "none")
call <SID>X("cLabel",s:blue, "", "none")
call <SID>X("cOperator",s:blue, "", "none")
call <SID>X("cOctalZero", s:purple, "", "none")
" CPP highlighting
call <SID>X("cppBoolean", s:orange, "", "none")
call <SID>X("cppExceptions", s:pink, "", "none")
call <SID>X("cppStatement", s:aqua, "", "none")
call <SID>X("cppStorageClass", s:orange, "", "none")
call <SID>X("cppAccess",s:aqua, "", "none")
" HTML Highlighting
call <SID>X("htmlTitle", s:mongo, "", "none")
call <SID>X("htmlH1", s:mongo, "", "none")
call <SID>X("htmlH2", s:blue, "", "none")
call <SID>X("htmlH3", s:purple, "", "none")
call <SID>X("htmlH4", s:red, "", "none")
call <SID>X("htmlTag", s:green, "", "none")
call <SID>X("htmlTagN", s:green, "", "none")
call <SID>X("htmlTagName", s:green, "", "none")
call <SID>X("htmlEndTag", s:green, "", "none")
call <SID>X("htmlArg", s:aqua, "", "none")
call <SID>X("htmlScriptTag", s:green, "", "none")
call <SID>X("htmlBold", s:foreground, "", "none")
call <SID>X("htmlItalic", s:comment, "", "none")
call <SID>X("htmlBoldItalic", s:orange, "", "none")
call <SID>X("htmlSpecialTagName", s:red, "", "none")
" Java Highlighting
call <SID>X("javaExternal", s:pink, "", "none")
call <SID>X("javaAnnotation", s:red, "", "none")
call <SID>X("javaTypedef", s:blue, "", "none")
call <SID>X("javaClassDecl", s:aqua, "", "none")
call <SID>X("javaScopeDecl", s:purple, "", "none")
call <SID>X("javaStorageClass", s:orange, "", "none")
call <SID>X("javaBoolean", s:orange, "", "none")
" JavaScript Highlighting
call <SID>X("javaScriptBraces", s:aqua, "", "none")
call <SID>X("javaScriptParens", s:aqua, "", "none")
call <SID>X("javaScriptIdentifier", s:orange, "", "none")
call <SID>X("javaScriptFunction", s:green, "", "none")
call <SID>X("javaScriptConditional", s:purple, "", "none")
call <SID>X("javaScriptRepeat", s:purple, "", "none")
call <SID>X("javaScriptBoolean", s:red, "", "none")
call <SID>X("javaScriptMember", s:orange, "", "none")
" Lua Highlighting
call <SID>X("luaFunc", s:foreground, "", "none")
call <SID>X("luaIn", s:aqua, "", "none")
call <SID>X("luaFunction", s:green, "", "none")
call <SID>X("luaStatement", s:aqua, "", "none")
call <SID>X("luaRepeat", s:aqua, "", "none")
call <SID>X("luaTable", s:blue, "", "none")
call <SID>X("luaConstant", s:mongo, "", "none")
call <SID>X("luaElse", s:purple, "", "none")
call <SID>X("luaCond", s:purple, "", "none")
" Makefile Highlighting
call <SID>X("makeIdent", s:aqua, "", "none")
call <SID>X("makeSpecTarget", s:yellow, "", "none")
call <SID>X("makeTarget", s:pink, "", "none")
call <SID>X("makeStatement", s:blue, "", "none")
call <SID>X("makeCommands", s:foreground, "", "none")
call <SID>X("makeSpecial", s:red, "", "none")
" Markdown Highlighting
call <SID>X("markdownH1", s:green, "", "none")
call <SID>X("markdownBlockquote", s:green, "", "none")
call <SID>X("markdownCodeBlock", s:purple, "", "none")
call <SID>X("markdownLink", s:aqua, "", "none")
call <SID>X("mkdCode", s:foreground, s:window, "none")
call <SID>X("mkdLink", s:aqua, "", "none")
call <SID>X("mkdURL", s:comment, "", "none")
call <SID>X("mkdString", s:foreground, "", "none")
call <SID>X("mkdBlockQuote", s:foreground, s:window, "none")
call <SID>X("mkdLinkTitle", s:green, "", "none")
call <SID>X("mkdDelimiter", s:blue, "", "none")
call <SID>X("mkdRule", s:green, "", "none")
" Perl Highlighting
call <SID>X("perlFiledescRead", s:mongo, "", "none")
call <SID>X("perlMatchStartEnd", s:green, "", "none")
call <SID>X("perlStatementFlow", s:green, "", "none")
call <SID>X("perlStatementFiledesc", s:red, "", "none")
call <SID>X("perlStatementStorage", s:green, "", "none")
call <SID>X("perlFunction", s:green, "", "none")
call <SID>X("perlMethod", s:foreground, "", "none")
call <SID>X("perlVarPlain", s:orange, "", "none")
call <SID>X("perlSharpBang", s:comment, "", "none")
call <SID>X("perlStatementInclude", s:blue, "", "none")
call <SID>X("perlStatementScalar", s:purple, "", "none")
call <SID>X("perlSubName", s:blue, "", "none")
call <SID>X("perlSpecialString", s:yellow, "", "none")
" PHP Highlighting
call <SID>X("phpIdentifier", s:foreground, "", "none")
call <SID>X("phpVarSelector", s:green, "", "none")
call <SID>X("phpKeyword", s:aqua, "", "none")
call <SID>X("phpStatement", s:green, "", "none")
call <SID>X("phpAssignByRef", s:blue, "", "none")
call <SID>X("phpComparison", s:blue, "", "none")
call <SID>X("phpBackslashSequences", s:yellow, "", "none")
call <SID>X("phpMemberSelector", s:aqua, "", "none")
call <SID>X("phpStorageClass", s:purple, "", "none")
call <SID>X("phpDefine", s:orange, "", "none")
" Python Highlighting
call <SID>X("pythonExceptions", s:pink, "", "none")
call <SID>X("pythonException", s:purple, "", "none")
call <SID>X("pythonInclude", s:pink, "", "none")
call <SID>X("pythonStatement", s:green, "", "none")
call <SID>X("pythonConditional", s:purple, "", "none")
call <SID>X("pythonRepeat", s:purple, "", "none")
call <SID>X("pythonFunction", s:blue, "", "none")
call <SID>X("pythonOperator", s:purple, "", "none")
call <SID>X("pythonBuiltin", s:foreground, "", "none")
call <SID>X("pythonDecorator", s:red, "", "none")
call <SID>X("pythonString", s:yellow, "", "none")
call <SID>X("pythonEscape", s:yellow, "", "none")
" Ruby Highlighting
call <SID>X("rubyModule", s:orange, "", "none")
call <SID>X("rubyClass", s:green, "", "none")
call <SID>X("rubyPseudoVariable", s:comment, "", "none")
call <SID>X("rubyKeyword", s:green, "", "none")
call <SID>X("rubyInstanceVariable", s:purple, "", "none")
call <SID>X("rubyFunction", s:foreground, "", "none")
call <SID>X("rubyDefine", s:green, "", "none")
call <SID>X("rubySymbol", s:blue, "", "none")
call <SID>X("rubyConstant", s:aqua, "", "none")
call <SID>X("rubyAccess", s:orange, "", "none")
call <SID>X("rubyAttribute", s:mongo, "", "none")
call <SID>X("rubyInclude", s:pink, "", "none")
call <SID>X("rubyLocalVariableOrMethod", s:red, "", "none")
call <SID>X("rubyCurlyBlock", s:foreground, "", "none")
call <SID>X("rubyCurlyBlockDelimiter", s:blue, "", "none")
call <SID>X("rubyArrayDelimiter", s:blue, "", "none")
call <SID>X("rubyStringDelimiter", s:yellow, "", "none")
call <SID>X("rubyInterpolationDelimiter", s:red, "", "none")
call <SID>X("rubyConditional", s:purple, "", "none")
call <SID>X("rubyRepeat", s:purple, "", "none")
call <SID>X("rubyControl", s:purple, "", "none")
call <SID>X("rubyException", s:purple, "", "none")
call <SID>X("rubyExceptional", s:purple, "", "none")
call <SID>X("rubyBoolean", s:mongo, "", "none")
" Shell Highlighting
call <SID>X("shDerefVar", s:blue, "", "none")
call <SID>X("shDerefSimple", s:blue, "", "none")
call <SID>X("shFunction", s:red, "", "none")
call <SID>X("shStatement", s:foreground, "", "none")
call <SID>X("shLoop", s:purple, "", "none")
call <SID>X("shQuote", s:yellow, "", "none")
call <SID>X("shCaseEsac", s:blue, "", "none")
call <SID>X("shSnglCase", s:purple, "", "none")
call <SID>X("shFunctionOne", s:orange, "", "none")
call <SID>X("shCase", s:orange, "", "none")
call <SID>X("bashStatement", s:foreground, "", "none")
" SQL Highlighting
call <SID>X("sqlStatement", s:green, "", "none")
call <SID>X("sqlType", s:aqua, "", "none")
call <SID>X("sqlKeyword", s:green, "", "none")
call <SID>X("sqlOperator", s:blue, "", "none")
call <SID>X("sqlSpecial", s:mongo, "", "none")
call <SID>X("mysqlVariable", s:yellow, "", "none")
call <SID>X("mysqlType", s:aqua, "", "none")
call <SID>X("mysqlKeyword", s:green, "", "none")
call <SID>X("mysqlOperator", s:blue, "", "none")
call <SID>X("mysqlSpecial", s:mongo, "", "none")
" TeX Highlighting
call <SID>X("texBoldStyle", s:pink, "", "none")
call <SID>X("texItalStyle", s:pink, "", "none")
call <SID>X("texBoldItalStyle", s:purple, "", "none")
call <SID>X("texItalBoldStyle", s:purple, "", "none")
" Vim Highlighting
call <SID>X("vimCommand", s:green, "", "none")
call <SID>X("vimVar", s:orange, "", "none")
call <SID>X("vimFuncKey", s:green, "", "none")
call <SID>X("vimFunction", s:aqua, "", "none")
call <SID>X("vimNotFunc", s:green, "", "none")
call <SID>X("vimMap", s:pink, "", "none")
call <SID>X("vimAutoEvent", s:blue, "", "none")
call <SID>X("vimMapModKey", s:blue, "", "none")
call <SID>X("vimFuncName", s:purple, "", "none")
call <SID>X("vimIsCommand", s:foreground, "", "none")
call <SID>X("vimFuncVar", s:blue, "", "none")
call <SID>X("vimLet", s:pink, "", "none")
call <SID>X("vimMapRhsExtend", s:foreground, "", "none")
call <SID>X("vimCommentTitle", s:comment, "", "none")
call <SID>X("vimBracket", s:blue, "", "none")
call <SID>X("vimParenSep", s:blue, "", "none")
call <SID>X("vimSynType", s:yellow, "", "none")
call <SID>X("vimNotation", s:blue, "", "none")
call <SID>X("vimOper", s:foreground, "", "none")
call <SID>X("vimOperParen", s:foreground, "", "none")
" XML Highlighting
call <SID>X("xmlTag", s:green, "", "none")
call <SID>X("xmlTagName", s:green, "", "none")
call <SID>X("xmlEndTag", s:green, "", "none")
call <SID>X("xmlAttrib", s:aqua, "", "none")
" Delete Functions
delfunction <SID>X
delfunction <SID>rgb
delfunction <SID>colour
delfunction <SID>rgb_colour
delfunction <SID>rgb_level
delfunction <SID>rgb_number
delfunction <SID>grey_colour
delfunction <SID>grey_level
delfunction <SID>grey_number