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
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
|
" Vim Color File"
" Name: bore.vim"
" Author: Ethan Morgan (@sixfourtwelve)"
" Maintainer: https://github.com/sixfourtwelve/bore.vim"
" License: The MIT License (MIT)"
" === Colors ==="
" --------------------------"
:let _white = '#ffffff'
:let _l_white = '#cacadd'
:let _d_white = '#c8c8db'
:let _gray_light = '#74778c'
:let _gray = '#606375'
:let _gray_dark = '#535560'
:let _semigray = '#42444b'
:let _lightblack = '#313e52'
:let _semiblack = '#262f3e'
:let _black = '#101010'
:let _aubergine = '#FD98B9'
:let _marzipan = '#ecc48d'
:let _d_turquoise = '#7fdbca'
:let _l_sky = '#9fd4ff'
:let _sky = '#6cbeff'
:let _sap = '#ebff00'
:let _purple = '#c792ea'
:let _pink = '#f45c7f'
:let _green = '#addb67'
" Clear any other set colors"
highlight clear
if exists("syntax_on")
syntax reset
endif
set t_Co=256
let g:colors_name="bore"
" Not all terminals support italics properly. If yours does, opt-in."
if !exists("g:bore_terminal_italics")
let g:bore_terminal_italics = 0
endif
" === Functions ==="
" Returns a darkened color using given color and the percent to darken it by."
" Example: color_helper#hex_color_darken('#FFFFFF', 0.10)"
" Returns: '#E5E5E5'"
function! s:hex_color_darken(color, percent)
let l:rgb = s:hex_color_to_rgb(a:color)
let l:rgb_darkened = []
for i in l:rgb
call add(l:rgb_darkened, float2nr(i * (1 - a:percent)))
endfor
return s:rgb_color_to_hex(l:rgb_darkened)
endfunction
function! s:hex_color_to_rgb(hex_color)
let l:rgb = []
let l:red = s:hex_to_dec(strpart(a:hex_color, 1, 2))
let l:green = s:hex_to_dec(strpart(a:hex_color, 3, 2))
let l:blue = s:hex_to_dec(strpart(a:hex_color, 5, 2))
let l:rgb = [l:red, l:green, l:blue]
return l:rgb
endfunction
function! s:hex_to_dec(arg)
return (a:arg =~? '^0x') ? a:arg + 0 : ('0x'.a:arg) + 0
endfunction
function! s:dec_to_hex(arg, padding)
return toupper(printf('%0' . a:padding . 'x', a:arg + 0))
endfunction
function! s:rgb_color_to_hex(rgb_color)
let l:hex_color = '#'
let l:hex_color .= s:dec_to_hex(a:rgb_color[0], 2) " red"
let l:hex_color .= s:dec_to_hex(a:rgb_color[1], 2) " green"
let l:hex_color .= s:dec_to_hex(a:rgb_color[2], 2) " blue"
return l:hex_color
endfunction
let colorgroup = {}
let colorgroup['Normal'] = {"GUIFG": _l_white, "GUIBG": _black}
let colorgroup['NormalNC'] = {"GUIFG": _l_white, "GUIBG": _black}
let colorgroup['NormalSB'] = {"GUIFG": _d_white, "GUIBG": _semiblack}
let colorgroup['NormalFloat'] = {"GUIFG": _l_white, "GUIBG": _black}
let colorgroup['FloatBorder'] = {"GUIFG": _lightblack}
let colorgroup['Darker'] = {"GUIFG": _gray, "GUIBG": _black}
let colorgroup['ColorColumn'] = {"GUIFG": _black, "GUIBG": _aubergine}
"let colorgroup['Conceal'] = {"GUIFG": _sap, "GUI": "bold"}
let colorgroup['Conceal'] = {"GUIFG": _sap }
let colorgroup['Cursor'] = {"GUIFG": _black, "GUIBG": _aubergine}
let colorgroup['iCursor'] = {"GUIFG": _black, "GUIBG": _marzipan}
let colorgroup['CursorLine'] = {"GUIFG": "NONE", "GUIBG": _semiblack}
let colorgroup['CursorLineNr'] = {"GUIFG": _gray_dark, "GUIBG": _black}
let colorgroup['Directory'] = {"GUIFG": _marzipan, "GUIBG": _black}
let colorgroup['ErrorMsg'] = {"GUIFG": _black, "GUIBG": _aubergine}
let colorgroup['FoldColumn'] = { "GUIBG": _black}
let colorgroup['Folded'] = {"GUIFG": _l_white, "GUIBG": _semiblack}
let colorgroup['LineNr'] = {"GUIFG": _lightblack, "GUIBG": _black}
if &background == "light"
let colorgroup['LineNr'] = {"GUIFG": _gray, "GUIBG": _black}
endif
let colorgroup['MatchParen'] = {"GUIFG": _black, "GUIBG": _l_white}
let colorgroup['ModeMsg'] = {"GUIFG": _black, "GUIBG": _marzipan}
let colorgroup['Whitespace'] = {"GUIFG": _semiblack, "CTERMFG":235}
"Popup menu: normal item"
let colorgroup['Pmenu'] = {"GUIFG": _l_white, "GUIBG": _semiblack}
"Popup menu: selected item"
let colorgroup['PmenuSel'] = {"GUIBG": _gray_dark}
"Popup menu: scrollbar"
let colorgroup['PmenuSbar'] = {"GUIBG": _black}
"Thumb of the scrollbar."
let colorgroup['PmenuThumb'] = {"GUIBG": _black}
let colorgroup['Search'] = {"GUIBG": _gray_dark, "GUI": "underline"}
let colorgroup['SignColumn'] = {"GUIBG": _black}
let colorgroup['StatusLine'] = {"GUIFG": _gray, "GUIBG": _semiblack}
let colorgroup['StatusLineNC'] = {"GUIFG": _gray_dark, "GUIBG": _semiblack}
let colorgroup['Tabline'] = {"GUIFG": _gray, "GUIBG": _semiblack}
let colorgroup['TablineFill'] = {"GUIBG": _black}
let colorgroup['TabLineSel'] = {"GUIFG": _gray_dark, "GUIBG": _black}
"let colorgroup['Title'] = {"GUIFG": _marzipan, "GUI": "bold"}
let colorgroup['Title'] = {"GUIFG": _marzipan}
let colorgroup['Todo'] = {"GUIFG": _black, "GUIBG": _sky, "GUI": "italic"}
let colorgroup['VertSplit'] = {"GUIFG": _lightblack}
let colorgroup['Visual'] = {"GUIBG": _gray_dark}
let colorgroup['WarningMsg'] = {"GUIFG": _pink, "GUIBG": _black}
" === Other highlighting groups ==="
"let colorgroup['Access'] = {"GUIFG": _marzipan, "GUI": "bold"}
let colorgroup['Access'] = {"GUIFG": _marzipan }
let colorgroup['Character'] = {"GUIFG": _sky}
let colorgroup['Define'] = {"GUIFG": _gray_light}
let colorgroup['Function'] = {"GUIFG": _d_turquoise}
let colorgroup['Label'] = {"GUIFG": _d_turquoise}
let colorgroup['Module'] = {"GUIFG": _aubergine, "GUI": "underline"}
let colorgroup['NonText'] = {"GUIFG": _gray_dark}
let colorgroup['String'] = {"GUIFG": _marzipan}
let colorgroup['Structure'] = {"GUIFG": _white}
let colorgroup['Object'] = {"GUIFG": _gray}
let colorgroup['Xml'] = {"GUIFG": _purple}
let colorgroup['Punctuation'] = {"GUIFG": _purple}
let colorgroup['Attr'] = {"GUIFG": _d_turquoise}
" === Syntax ==="
let colorgroup['Comment'] = {"GUIFG": _gray_light, "CTERMFG":244, "CTERMBG":"NONE", "GUIBG": "NONE", "GUISP":"NONE", "CTERM":"NONE", "GUI":"NONE"}
"let colorgroup['Constant'] = {"GUIFG": _l_sky, "GUI": "bold"}
let colorgroup['Constant'] = {"GUIFG": _l_sky}
let colorgroup['Identifier'] = {"GUIFG": _aubergine}
let colorgroup['Operator'] = {"GUIFG": _gray_light}
let colorgroup['Statement'] = {"GUIFG": _l_sky}
let colorgroup['PreProc'] = {"GUIFG": _white}
let colorgroup['Type'] = {"GUIFG": _white}
let colorgroup['Special'] = {"GUIFG": _l_sky}
let colorgroup['Underlined'] = {"GUIFG": _marzipan, "GUI": "underline"}
let colorgroup['Error'] = {"GUIFG": _black, "GUIBG": _aubergine}
let colorgroup['MarkdownH1'] = {"GUIFG": _sky, "GUI": "bold"}
let colorgroup['MarkdownH2'] = {"GUIFG": _l_sky, "GUI": "bold"}
let colorgroup['MarkdownLinkText'] = {"GUIFG": _l_sky, "GUI": "underline"}
" === Own highlighting groups ==="
let colorgroup['UnderlinedBold'] = {"GUIFG": _marzipan, "GUI": "underline,bold"}
" === GitGutter highlighting groups ==="
let colorgroup['GitGutterAdd'] = {"GUIFG": _green, "GUIBG": _black}
let colorgroup['GitGutterChange'] = {"GUIFG": _sap, "GUIBG": _black}
let colorgroup['GitGutterDelete'] = {"GUIFG": _pink, "GUIBG": _black}
let colorgroup['GitGutterChangeDelete'] = {"GUIFG": _sap, "GUIBG": _black}
" === Git highlighting groups ==="
let colorgroup['DiffAdd'] = {"GUIFG": _green, "GUIBG": _black, "GUI":"NONE"}
let colorgroup['DiffChange'] = {"GUIFG": _white, "GUIBG": _black, "GUI":"NONE"}
let colorgroup['DiffDelete'] = {"GUIFG": _pink, "GUIBG": _black, "GUI":"NONE"}
let colorgroup['DiffText'] = {"GUIFG": _pink, "GUIBG": _black, "GUI":"NONE"}
" === NvimTree highlighting groups ==="
let colorgroup['NvimTreeNormal'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeNormalNC'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeRootFolder'] = {"GUIFG": _gray_light, "GUIBG": _black, "GUI":"bold"}
let colorgroup['NvimTreeFolderName'] = {"GUIFG": _gray_light, "GUIBG": _black }
let colorgroup['NvimTreeOpenedFolderName'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeGitDirty'] = {"GUIFG": _marzipan, "GUIBG": _black }
let colorgroup['NvimTreeGitNew'] = {"GUIFG": _green, "GUIBG": _black }
let colorgroup['NvimTreeGitDeleted'] = {"GUIFG": _pink, "GUIBG": _black }
let colorgroup['NvimTreeSpecialFile'] = {"GUIFG": _d_turquoise, "GUIBG": _black, "GUI":"underline"}
let colorgroup['NvimTreeIndentMarker'] = {"GUIFG": _lightblack, "GUIBG": _black}
let colorgroup['NvimTreeImageFile'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeSymlink'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeGitStaged'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeGitMerge'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['NvimTreeGitRenamed'] = {"GUIFG": _d_white, "GUIBG": _black }
" === COMPLETION highlighting groups ==="
let colorgroup['CmpDocumentation'] = {"GUIFG": _d_white, "GUIBG": _black, "GUI":"NONE" }
let colorgroup['CmpDocumentationBorder'] = {"GUIFG": _d_white, "GUIBG": _d_white, "GUI":"NONE" }
"uncompleted item that may be good for completion"
let colorgroup['CmpItemAbbr'] = {"GUIFG": _d_white, "GUIBG": _black, "GUI":"NONE" }
let colorgroup['CmpItemAbbrDeprecated'] = {"GUIFG": _d_white, "GUIBG": _black, "GUI":"NONE" }
"matched item (what you typed until present)"
let colorgroup['CmpItemAbbrMatch'] = {"GUIFG": _aubergine, "GUIBG": _black, "GUI":"NONE" }
"fuzzy match for what you typed"
let colorgroup['CmpItemAbbrMatchFuzzy'] = {"GUIFG": _black, "GUIBG": _black, "GUI":"NONE" }
let colorgroup['CmpItemKind'] = {"GUIFG": _aubergine, "GUIBG": _black, "GUI":"NONE" }
let colorgroup['CmpItemMenu'] = {"GUIFG": _d_white, "GUIBG": _black, "GUI":"NONE" }
let colorgroup['LspDiagnosticsDefaultError'] = {"GUIFG": _pink, "GUIBG": _black }
let colorgroup['LspDiagnosticsDefaultWarning'] = {"GUIFG": _marzipan, "GUIBG": _black }
let colorgroup['LspDiagnosticsDefaultHint'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['LspFloatWinNormal'] = {"GUIFG": _d_white, "GUIBG": _black }
let colorgroup['LspFloatWinBorder'] = {"GUIFG": _black, "GUIBG": _black }
let colorgroup['LspFloatWinBorder'] = {"GUIFG": _black, "GUIBG": _black }
let colorgroup['LspFloatWinBorder'] = {"GUIFG": _black, "GUIBG": _black }
let colorgroup['BufferLineIndicatorSelected'] = {"GUIFG": _l_sky}
let colorgroup['BufferLineFill'] = {"GUIBG": _pink}
"used for highlighting the current line in terminal-debug"
let colorgroup['debugPC'] = {"GUIBG": _black}
"used for breakpoint colors in terminal-debug"
let colorgroup['debugBreakpoint'] = {"GUIBG": _semiblack}
"These groups are for the native LSP client. Some other LSP clients may"
"use these groups, or use their own. Consult your LSP client's"
"documentation."
"used for highlighting 'text' references"
let colorgroup['LspReferenceText'] = {"GUIBG": _gray_light }
"used for highlighting 'read' references"
let colorgroup['LspReferenceRead'] = {"GUIBG": _gray_light }
"used for highlighting 'write' references"
let colorgroup['LspReferenceWrite'] = {"GUIBG": _gray_light }
let colorgroup['DiagnosticError'] = {"GUIFG": _pink, "GUIBG": _black}
let colorgroup['DiagnosticWarn'] = {"GUIFG": _marzipan, "GUIBG": _black }
let colorgroup['DiagnosticInfo'] = {"GUIFG": _sky, "GUIBG": _black }
let colorgroup['DiagnosticHint'] = {"GUIFG": _d_turquoise, "GUIBG": _black }
let colorgroup['DiagnosticVirtualTextError'] = {"GUIFG": _pink, "GUIBG": _black }
let colorgroup['DiagnosticVirtualTextWarn'] = {"GUIFG": _marzipan, "GUIBG": _black }
let colorgroup['DiagnosticVirtualTextInfo'] = {"GUIFG": _sky, "GUIBG": _black }
let colorgroup['DiagnosticVirtualTextHint'] = {"GUIFG": _d_turquoise, "GUIBG": _black }
let colorgroup['DiagnosticUnderlineError'] = {"style": "undercurl", "sp": _pink }
let colorgroup['DiagnosticUnderlineWarn'] = {"style": "undercurl", "sp": _marzipan }
let colorgroup['DiagnosticUnderlineInfo'] = {"style": "undercurl", "sp": _sky }
let colorgroup['DiagnosticUnderlineHint'] = {"style": "undercurl", "sp": _d_turquoise }
" === Highlighting Links ==="
hi link Boolean Number
hi link Class Constant
hi link Delimiter Define
hi link Debug Special
hi link Conditional Define
hi link Exception PreProc
hi link Float Number
hi link Include PreProc
hi link Macro PreProc
hi link Number Identifier
hi link Operator Identifier
hi link PreCondit PreProc
hi link Repeat Statement
hi link SpecialChar Special
hi link SpecialComment Special
hi link SpecialKey Define
hi link StorageClass Identifier
hi link Symbol PreProc
hi link Tag Normal
hi link Typedef Type
" === Highlighting Plugins ==="
" CtrlP "
hi link CtrlPMatch Character
" Git commit "
hi link gitcommitBranch Constant
hi link gitcommitSelectedFile Statement
hi link gitcommitDiscardedFile Structure
hi link gitcommitUntrackedFile Structure
hi link gitcommitSummary String
" GitGutter "
hi link GitGutterAdd GitGutterAdd
hi link GitGutterChange GitGutterChange
hi link GitGutterDelete GitGutterDelete
hi link GitGutterChangeDelete GitGutterChangeDelete
" Signify "
hi link SignifySignAdd GitGutterAdd
hi link SignifySignChange GitGutterChange
hi link SignifySignChangeDelete GitGutterChangeDelete
hi link SignifySignDelete GitGutterDelete
hi link SignifySignDeleteFirstLine SignifySignDelete
" NERDtree "
hi link NerdTreeCWD Character
hi link NerdTreeHelpKey Character
hi link NerdTreeHelpTitle Statement
hi link NerdTreeOpenable NerdTreeCWD
hi link NerdTreeClosable Statement
hi link NerdTreeDir Normal
hi link NerdTreeDirSlash NerdTreeDir
" PlainTasks (.todo) "
hi link ptCompleteTask Number
hi link ptContext Type
hi link ptSection Title
hi link ptTask Normal
" VimPlug "
hi link plugName Character
" Startify "
hi link StartifyNumber Character
hi link StartifyBracket StartifyNumber
hi link StartifySection Title
hi link StartifyPath Define
hi link StartifySlash StartifyPath
hi link StartifyFile Normal
" === Highlighting Languages/Tools ==="
" highlight clear ALEErrorSign "
if exists('g:ale_enabled')
hi! link ALEError WarningMsg
hi! link ALEWarning WarningMsg
hi! link ALEInfo WarningMsg
hi! link ALEErrorSign WarningMsg
hi! link ALEWarningSign WarningMsg
hi! link ALEInfoSign WarningMsg
hi! link ALEVirtualTextWarning WarningMsg
hi! link ALEVirtualTextError WarningMsg
endif
" Apache "
hi link apacheDeclaration PreProc
" CoffeeScript "
hi link coffeeExtendedOp Character
hi link coffeeObject Statement
hi link coffeeObjAssign Character
hi link coffeeParen Character
" CSS "
hi link cssAttr Identifier
hi link cssColor Normal
hi link cssClassName String
hi link cssProp Function
hi link cssPseudoClass Character
hi link cssPseudoClassId Character
hi link cssSelectorOp Character
hi link cssTagName Identifier
hi link cssDefinition Identifier
hi link cssNoise Punctuation
hi link cssBraces Punctuation
hi link cssIdentifier Punctuation
hi link cssIncludeKeyword Punctuation
hi link cssUnitDecorators String
" GraphQL "
hi link graphqlName Function
hi link graphqlString Comment
" HAML "
hi link hamlTag Character
" HTML "
"hi link javaScript Normal"
hi link htmlTag Label
hi link htmlEndTag Label
hi link htmlTagName Label
hi link htmlScriptTag Label
hi link htmlArg Attr
hi link htmlTitle Normal
hi link htmlH1 Normal
hi link htmlH2 htmlH1
hi link htmlH3 htmlH1
hi link htmlH4 htmlH1
hi link htmlH5 htmlH1
hi link htmlH6 htmlH1
" JavaScript "
hi link javascriptFuncArg Character
hi link javascriptFuncComma Punctuation
hi link javascriptFuncDef Statement
hi link javascriptFuncKeyword Statement
hi link javascriptOpSymbols Type
hi link javascriptParens Punctuation
hi link javascriptEndcolons Character
hi link jsArrowFuncArgs Normal
hi link jsArrowFunction Identifier
hi link jsBraces Punctuation
hi link jsBrackets Punctuation
hi link jsClassBraces Punctuation
hi link jsClassDefinition Class
hi link jsClassFuncName Function
hi link jsClassKeyword Identifier
hi link jsClassProperty Normal
hi link jsClassBlock Identifier
hi link jsDecorator Normal
hi link jsDestructuringBraces Punctuation
hi link jsExtendsKeyword jsClassKeyword
hi link jsExport Identifier
hi link jsImport Module
hi link jsFrom Identifier
hi link jsFuncBraces Punctuation
hi link jsFunction Identifier
hi link jsFuncCall Function
hi link jsFuncParens Punctuation
hi link jsFunctionKey Function
hi link jsGlobalObjects Identifier
hi link jsGlobalNodeObjects Identifier
hi link jsIfElseBraces Punctuation
hi link jsModuleBraces Normal
hi link jsModuleKeyword Tag
hi link jsNoise Delimiter
hi link jsObjectBraces Punctuation
hi link jsObjectKey Normal
hi link jsObjectValue PreProc
hi link jsObjectProp Function
hi link jsObjectColon Punctuation
hi link jsObjectShorthandProp Punctuation
hi link jsParens Punctuation
hi link jsReturn Identifier
hi link jsSpreadOperator Identifier
hi link jsThis Identifier
" JSON "
hi link jsonKeyword Attr
hi link jsonKeywordMatch Punctuation
hi link jsonQuote Attr
hi link jsonNoise Punctuation
hi link jsonString Punctuation
hi link jsonBraces Normal
hi link jsonBoolean WarningMsg
hi link jsonNumError Comment
hi link jsonCommentError Comment
hi link jsonSemicolonError Comment
hi link jsonTrailingCommaError Comment
hi link jsonMissingCommaError Comment
hi link jsonStringSQError Comment
hi link jsonNoQuotesError Punctuation
hi link jsonTripleQuotesError Punctuation
" hi link texSpecialChar Special "
" Markdown "
hi link markdownHeadingDelimiter Identifier
hi link markdownCode Identifier
hi link markdownIndentCode Identifier
hi link markdownLineBreak Statement
hi link markdownH1 MarkdownH1
hi link markdownH2 MarkdownH2
hi link markdownLinkText markdownLinkText
" MatchTagAlways "
hi link MatchTag Identifier
" PHP "
hi link phpRegion Comment
hi link phpConstant WarningMsg
hi link phpCoreConstant WarningMsg
hi link phpComment Comment
hi link phpDocTags WarningMsg
hi link phpDocCustomTags WarningMsg
hi link phpException WarningMsg
hi link phpBoolean WarningMsg
hi link phpClass String
hi link phpStaticClasses String
hi link phpClassDelimiter WarningMsg
hi link phpFunction Label "Custom functions"
hi link phpFunctions Character "Built-in functions"
hi link phpSuperglobals Normal "Global functions"
hi link phpMagicConstants Normal "__CLASS__"
hi link phpServerVars WarningMsg
hi link phpMethods WarningMsg
hi link phpMethodsVar Label
hi link phpSplatOperator Label
hi link phpStringDelimiter String "String Quotes"
hi link phpStructure Label
hi link phpStringSingle String
hi link phpStringDouble Identifier
hi link phpBacktick Identifier
hi link phpNumber Identifier
hi link phpFloat WarningMsg
hi link phpBaselib Identifier
hi link phpRepeat WarningMsg
hi link phpStatement Identifier
hi link phpKeyword Identifier "function"
hi link phpSCKeyword Identifier
hi link phpFCKeyword Identifier
hi link phpYieldFromKeyword Identifier
hi link phpDocNamespaceSeparator WarningMsg
hi link phpClassNamespaceSeparator WarningMsg
hi link phpUseNamespaceSeparator WarningMsg
hi link phpType Identifier "public, privat, protected"
hi link phpInclude Identifier
hi link phpDefine WarningMsg
hi link phpBackslashSequences WarningMsg
hi link phpBackslashDoubleQuote WarningMsg
hi link phpBackslashSingleQuote WarningMsg
hi link phpParent Punctuation
hi link phpBrackets Punctuation
hi link phpIdentifierConst WarningMsg
hi link phpParentError WarningMsg
hi link phpOctalError WarningMsg
hi link phpInterpSimpleError WarningMsg
hi link phpInterpBogusDollarCurley WarningMsg
hi link phpInterpDollarCurly1 WarningMsg
hi link phpInterpDollarCurly2 WarningMsg
hi link phpInterpSimpleBracketsInner WarningMsg
hi link phpInterpSimpleCurly WarningMsg
hi link phpInterpVarname WarningMsg
hi link phpIntVar Punctuation
hi link phpVarSelector PreProc "$ sign"
hi link phpMemberSelector Identifier "->"
hi link phpIdentifier PreProc
hi link phpTodo Identifier
hi link phpDocTodo Identifier
hi link phpOperator Identifier "+, -, x, *"
hi link phpRelation WarningMsg
hi link phpIdentifierSimply WarningMsg
"Pug"
hi link pugHtmlConditionalComment WarningMsg
" Python "
hi link pythonMagic Identifier
hi link pythonBuiltin Identifier
hi link pythonStatement Identifier
hi link pythonOperator Punctuation
hi link pythonFunction Character
hi link pythonString Label
hi link pythonImport Identifier
hi link pythonDef Punctuation
hi link pythonAs Punctuation
hi link pythonDocstring Punctuation
hi link pythonSpecial Punctuation
hi link pythonDecorator Punctuation
hi link pythonExceptions Punctuation
" Ruby "
hi link rubyAccess Access
hi link rubyBlockParameterList PreProc
hi link rubyCallback Character
hi link rubyClass Label
hi link rubyClassName UnderlinedBold
hi link rubyControl Statement
hi link rubyConstant Constant
hi link rubyEntity Character
hi link rubyInclude Include
hi link rubyInterpolation Identifier
hi link rubyMacro Character
hi link rubyModule Module
hi link rubyStringDelimiter rubyString
hi link rubySymbol Symbol
hi link rubyRoute Type
" SASS "
hi link sassClassChar Type
hi link sassClass Type
hi link sassIdChar Type
hi link sassId Type
hi link sassProperty Type
hi link scssProperty Identifier
hi link scssMixin Identifier
hi link scssVariable Attr
hi link scssInclude Identifier
hi link scssExtend Identifier
hi link scssFunctionDefinition Identifier
hi link scssReturn Identifier
hi link scssEachKeyword Identifier
hi link scssForKeyword Identifier
hi link scssImport Identifier
hi link scssSemicolon Punctuation
hi link scssAtRoot Identifier
hi link scssSelectorName String
" Slim "
hi link slimBegin Normal
hi link slimClass Character
hi link slimClassChar Character
hi link slimId Character
hi link slimIdChar Character
hi link rubyKeyword PreProc
hi link slimText Normal
" TypeScript "
hi link typescriptBOM Normal
hi link typescriptBraces Punctuation
hi link typescriptParens Punctuation
hi link typescriptTypeReference String
hi link typescriptAsyncFuncKeyword Identifier
hi link typescriptAsyncFunc Identifier
hi link typescriptArrowFunc Identifier
hi link typescriptFuncKeyword Identifier
hi link typescriptArrowFuncArg Identifier
hi link typescriptFuncName Function
hi link typescriptFuncArg Identifier
hi link typescriptFuncComma Identifier
hi link typescriptFuncTypeArrow String
hi link typescriptTemplate Attr
hi link typescriptTemplateSB Attr
hi link typescriptObjectLabel Normal
hi link typescriptDestructureLabel Attr
hi link typescriptObjectAsyncKeyword Attr
hi link typescriptInterfaceKeyword Identifier
hi link typescriptInterfaceExtends Identifier
hi link typescriptInterfaceName String
hi link typescriptImport Identifier
hi link typescriptImportType Normal
hi link typescriptExport Identifier
hi link typescriptExportType Normal
"Types=> key:value"
hi link typescriptMember Normal
hi link typescriptPredefinedType Attr
hi link typescriptStringMember Normal
hi link typescriptString String
hi link typescriptConditional Identifier
hi link typescriptConditionalElse Identifier
"default"
hi link typescriptCase Identifier
hi link typescriptDefault Identifier
hi link typescriptMethodAccessor String
hi link typescriptKeywordOp String
"return"
hi link typescriptStatementKeyword Identifier
hi link typescriptNull Attr
hi link typescriptBoolean Attr
hi link typescriptConstructorType Attr
hi link typescriptTypeQuery Attr
hi link typescriptAccessibilityModifier Attr
hi link typescriptOptionalMark Attr
hi link typescriptReadonlyModifier Attr
hi link typescriptTypeParameter Attr
" VimL "
hi link vimCmdSep Character
" YAML "
hi link yamlBlockMappingKey Punctuation
hi link yamlDocumentStart Punctuation
hi link yamlKeyValueDelimiter Punctuation
hi link yamlPlainScalar Punctuation
" XML "
" hi link xmlAttrib Normal"
hi link xmlTag Xml
hi link xmlTagName Identifier
hi link xmlEndTag Tag
hi link xmlAttrib Attr
" === Expand colorgroups === "
let s:colors = {}
" http://choorucode.com/2011/07/29/vim-chart-of-color-names/"
let valid_cterm_colors =
\ [
\ 'Black', 'DarkBlue', 'DarkGreen', 'DarkCyan',
\ 'DarkRed', 'DarkMagenta', 'Brown', 'DarkYellow',
\ 'LightGray', 'LightGrey', 'Gray', 'Grey',
\ 'DarkGray', 'DarkGrey', 'Blue', 'LightBlue',
\ 'Green', 'LightGreen', 'Cyan', 'LightCyan',
\ 'Red', 'LightRed', 'Magenta', 'LightMagenta',
\ 'Yellow', 'LightYellow', 'White',
\ ]
for key in keys(colorgroup)
let s:colors = colorgroup[key]
if has_key(s:colors, 'TERM')
let term = s:colors['TERM']
else
let term = 'NONE'
endif
if has_key(s:colors, 'GUI')
let gui = s:colors['GUI']
else
let gui='NONE'
endif
if has_key(s:colors, 'GUIFG')
let guifg = s:colors['GUIFG']
else
let guifg='NONE'
endif
if has_key(s:colors, 'GUIBG')
let guibg = s:colors['GUIBG']
else
let guibg='NONE'
endif
if g:bore_terminal_italics == 0
if has_key(s:colors, 'CTERM') && s:colors["CTERM"] == "italic"
unlet a:colors.CTERM
endif
if has_key(s:colors, "GUI") && s:colors["GUI"] == "italic"
unlet s:colors.GUI
endif
endif
if has_key(s:colors, 'CTERM')
let cterm = s:colors['CTERM']
else
let cterm=gui
endif
if has_key(s:colors, 'CTERMFG')
let ctermfg = s:colors['CTERMFG']
else
if index(valid_cterm_colors, guifg) != -1
let ctermfg=guifg
else
let ctermfg='Blue'
endif
endif
if has_key(s:colors, 'CTERMBG')
let ctermbg = s:colors['CTERMBG']
else
if index(valid_cterm_colors, guibg) != -1
let ctermbg=guibg
else
let ctermbg='NONE'
endif
endif
if has_key(s:colors, 'GUISP')
let guisp = s:colors['GUISP']
else
let guisp='NONE'
endif
if key =~ '^\k*$'
execute "hi ".key." term=".term." cterm=".cterm." gui=".gui." ctermfg=".ctermfg." guifg=".guifg." ctermbg=".ctermbg." guibg=".guibg." guisp=".guisp
endif
endfor
hi DiffAdd ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi DiffChange ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi DiffDelete ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi DiffText ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi IncSearch ctermbg=8 ctermfg=NONE cterm=NONE guibg=#272727 guifg=NONE gui=NONE
hi Search ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi Directory ctermbg=NONE ctermfg=8 cterm=NONE guibg=NONE guifg=#808080 gui=NONE
hi MatchParen ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi SpellBad ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE guisp=#b3646e
hi SpellCap ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE guisp=#7fa7c9
hi SpellLocal ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE guisp=#a2a6d4
hi SpellRare ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE guisp=#91cecf
hi ColorColumn ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi SignColumn ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi ErrorMsg ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi ModeMsg ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi MoreMsg ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi Question ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi Cursor ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi CursorColumn ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi QuickFixLine ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi Conceal ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi ToolbarLine ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi ToolbarButton ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi debugPC ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi debugBreakpoint ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi VimHiGroup ctermbg=NONE ctermfg=12 cterm=NONE guibg=NONE guifg=#7fa7c9 gui=NONE
hi VimVar ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#e0e0e0 gui=NONE
hi VimAutoEvent ctermbg=NONE ctermfg=12 cterm=NONE guibg=NONE guifg=#7fa7c9 gui=NONE
hi VimFunction ctermbg=NONE ctermfg=13 cterm=NONE guibg=NONE guifg=#a2a6d4 gui=NONE
hi vimVar ctermbg=NONE ctermfg=13 cterm=NONE guibg=NONE guifg=#a2a6d4 gui=NONE
hi vimMapMod ctermbg=NONE ctermfg=12 cterm=NONE guibg=NONE guifg=#7fa7c9 gui=NONE
hi vimMapModKey ctermbg=NONE ctermfg=12 cterm=NONE guibg=NONE guifg=#7fa7c9 gui=NONE
hi vimBracket ctermbg=NONE ctermfg=13 cterm=NONE guibg=NONE guifg=#a2a6d4 gui=NONE
hi vimNotation ctermbg=NONE ctermfg=13 cterm=NONE guibg=NONE guifg=#a2a6d4 gui=NONE
hi StatusText ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#e0e0e0 gui=NONE
hi StatusBackground ctermbg=NONE ctermfg=0 cterm=NONE guibg=NONE guifg=#0d0d0d gui=NONE
hi StatusFileName ctermbg=NONE ctermfg=12 cterm=NONE guibg=NONE guifg=#7fa7c9 gui=NONE
hi StatusFileType ctermbg=NONE ctermfg=10 cterm=NONE guibg=NONE guifg=#a0bc8d gui=NONE
hi StatusFileModified ctermbg=NONE ctermfg=11 cterm=NONE guibg=NONE guifg=#c9b16f gui=NONE
hi StatusFileReadonly ctermbg=NONE ctermfg=11 cterm=NONE guibg=NONE guifg=#c9b16f gui=NONE
hi StatusFileLocation ctermbg=NONE ctermfg=13 cterm=NONE guibg=NONE guifg=#a2a6d4 gui=NONE
hi StatusFileEncoding ctermbg=NONE ctermfg=14 cterm=NONE guibg=NONE guifg=#91cecf gui=NONE
hi StatusWarning ctermbg=NONE ctermfg=11 cterm=NONE guibg=NONE guifg=#c9b16f gui=NONE
hi StatusError ctermbg=NONE ctermfg=9 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi TabLineTitle ctermbg=NONE ctermfg=8 cterm=NONE guibg=NONE guifg=#E9E9E9 gui=NONE
hi TabLineTitleActive ctermbg=NONE ctermfg=12 cterm=NONE guibg=NONE guifg=#FFFFFF gui=NONE
hi SignifySignAdd ctermbg=NONE ctermfg=10 cterm=NONE guibg=NONE guifg=#a0bc8d gui=NONE
hi SignifySignDelete ctermbg=NONE ctermfg=9 cterm=NONE guibg=NONE guifg=#b3646e gui=NONE
hi SignifySignChange ctermbg=NONE ctermfg=11 cterm=NONE guibg=NONE guifg=#c9b16f gui=NONE
" hi CocExplorerGitPathChange ctermbg=NONE ctermfg=10 cterm=NONE guibg=NONE guifg=#a0bc8d gui=NONE
" hi CocExplorerGitContentChange ctermbg=NONE ctermfg=11 cterm=NONE guibg=NONE guifg=#c9b16f gui=NONE
" hi CocErrorSign ctermbg=NONE ctermfg=8 cterm=NONE guibg=#0a0a0a guifg=#d0d0d0 gui=NONE
" hi CocInfoSign ctermbg=NONE ctermfg=8 cterm=NONE guibg=#0a0a0a guifg=#c9b16f gui=NONE
" hi CocWarningSign ctermbg=NONE ctermfg=8 cterm=NONE guibg=#0a0a0a guifg=#c9b16f gui=NONE
" hi CocErrorFloat ctermbg=NONE ctermfg=8 cterm=NONE guibg=#0a0a0a guifg=#b3646e gui=NONE
" hi CocInfoFloat ctermbg=NONE ctermfg=8 cterm=NONE guibg=#0a0a0a guifg=#d0d0d0 gui=NONE
" hi CocWarningFloat ctermbg=NONE ctermfg=8 cterm=NONE guibg=#0a0a0a guifg=#c9b16f gui=NONE
hi Pmenu ctermbg=NONE ctermfg=8 cterm=NONE guibg=NONE guifg=#808080 gui=NONE
hi PmenuSbar ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi PmenuSel ctermbg=8 ctermfg=15 cterm=NONE guibg=#202020 guifg=#d0d0d0 gui=NONE
hi PmenuThumb ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi StatusLine ctermbg=NONE ctermfg=8 cterm=NONE guibg=NONE guifg=#808080 gui=NONE
hi StatusLineNC ctermbg=NONE ctermfg=8 cterm=NONE guibg=NONE guifg=#505050 gui=NONE
hi VertSplit ctermbg=NONE ctermfg=8 cterm=NONE guibg=NONE guifg=#272727 gui=NONE
hi TabLine ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#202020 gui=NONE
hi TabLineFill ctermbg=NONE ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
hi TabLineSel ctermbg=8 ctermfg=15 cterm=NONE guibg=NONE guifg=#d0d0d0 gui=NONE
" Treesitter specific highlighting
hi @type guifg=#ffffff gui=NONE cterm=NONE
hi @type.builtin guifg=#ffffff gui=NONE cterm=NONE
hi @type.qualifier guifg=#ffffff gui=NONE cterm=NONE
hi @type.definition guifg=#ffffff gui=NONE cterm=NONE
hi link @parameter _pink
hi link @parameter.builtin _pink
hi link @variable.argument _pink
hi link @lsp.type.parameter _pink
hi @tag guifg=#6cbeff gui=NONE cterm=NONE
hi @tag.builtin guifg=#FD98B9 gui=NONE cterm=NONE
hi @tag.attribute guifg=#7fdbca gui=NONE cterm=NONE
"hi @module guifg=#6cbeff gui=NONE cterm=NONE
hi @module guifg=#75778C gui=NONE cterm=NONE
"hi @module guifg=#3E3F4A gui=NONE cterm=NONE
"hi @module guifg=#FD98B9 gui=NONE cterm=NONE
" #3E3F4A to replace constants and others
hi @constant guifg=#7fdbca gui=NONE cterm=NONE
hi link @variable.parameter NONE
hi @variable.parameter guifg=#FD98B9 gui=NONE cterm=NONE
hi @variable guifg=#FD98B9 gui=NONE cterm=NONE
hi @function.call guifg=#7fdbca gui=NONE cterm=NONE
hi @function.builtin guifg=#7fdbca gui=NONE cterm=NONE
hi @function.method.call guifg=#7fdbca gui=NONE cterm=NONE
hi @variable.member guifg=#7fdbca gui=NONE cterm=NONE
hi link @variable.parameter Identifier
hi link @variable.parameter _pink
hi @keyword.modifier guifg=#3E3F4A gui=NONE cterm=NONE
hi @keyword.operator guifg=#3E3F4A gui=NONE cterm=NONE
hi @constructor guifg=#7fdbca gui=NONE cterm=NONE
hi @property guifg=#7fdbca gui=NONE cterm=NONE
hi @boolean guifg=#6cbeff gui=NONE cterm=NONE
hi @punctuation.bracket guifg=#3E3F4A gui=NONE cterm=NONE
hi @punctuation.delimiter guifg=#3E3F4A gui=NONE cterm=NONE
hi @lispList guifg=#E3F4A gui=NONE cterm=NONE
hi @lispParen guifg=#3E3F4A gui=NONE cterm=NONE
hi @keyword.directive guifg=#3E3F4A gui=NONE cterm=NONE
let colorgroup['@variable.parameter'] = {"GUIFG": _pink}
let colorgroup['@parameter'] = {"GUIFG": _pink}
let colorgroup['@lsp.type.parameter'] = {"GUIFG": _pink}
let colorgroup['Structure'] = {"GUIFG": _white}
let colorgroup['@type'] = {"GUIFG": _white}
let colorgroup['@lispList'] = {"GUIFG": '#75778C'}
let colorgroup['@lispParen'] = {"GUIFG": '#75778C'}
highlight @keyword.modifier guifg=#3E3F4A
highlight @punctuation.special guifg=#3E3F4A
hi @attribute guifg=#3E3F4A gui=NONE cterm=NONE
" Must appear at the end of the file to work around this oddity:
" https://groups.google.com/forum/#!msg/vim_dev/afPqwAFNdrU/nqh6tOM87QUJ
set background=dark
|