61
61
Color .new (' pmenu' , " #dfdfdf" )
62
62
end
63
63
64
+ local italics = (function ()
65
+ if vim .g .onebuddy_disable_italics ~= true then
66
+ return i
67
+ else
68
+ return no
69
+ end
70
+ end )()
71
+
64
72
---- ---------------------
65
73
-- Vim Primary Colors --
66
74
---- ---------------------
@@ -128,7 +136,7 @@ Group.new('IncSearch', c.syntax_bg, c.hue_2, no)
128
136
Group .new (' LineNr' , c .mono_4 , c .none , no )
129
137
Group .new (' CursorLineNr' , c .mono_1 , c .syntax_cursor , no )
130
138
Group .new (' MatchParen' , c .hue_5 , c .syntax_cursor , ul + b )
131
- Group .new (' Italic' , c .none , c .none , i )
139
+ Group .new (' Italic' , c .none , c .none , italics )
132
140
Group .new (' ModeMsg' , c .mono_1 , c .none , no )
133
141
Group .new (' MoreMsg' , c .mono_1 , c .none , no )
134
142
Group .new (' NonText' , c .mono_3 , c .none , no )
@@ -167,7 +175,7 @@ Group.new('helpSectionDelim', c.mono_3, c.none, no)
167
175
-- Standard Syntax Highlighting --
168
176
---- ------------------------------
169
177
170
- Group .new (' Comment' , c .mono_3 , c .none , i )
178
+ Group .new (' Comment' , c .mono_3 , c .none , italics )
171
179
Group .new (' Constant' , c .hue_4 , c .none , no )
172
180
Group .new (' String' , c .hue_4 , c .none , no )
173
181
Group .new (' Character' , c .hue_4 , c .none , no )
@@ -466,7 +474,7 @@ Group.new('phpSuperGlobals', c.hue_5, c.none, no)
466
474
-- Pug (Formerly Jade)
467
475
Group .new (' pugAttributesDelimiter' , c .hue_6 , c .none , no )
468
476
Group .new (' pugClass' , c .hue_6 , c .none , no )
469
- Group .new (' pugDocType' , c .mono_3 , c .none , i )
477
+ Group .new (' pugDocType' , c .mono_3 , c .none , italics )
470
478
Group .new (' pugTag' , c .hue_5 , c .none , no )
471
479
472
480
-- PureScript
@@ -484,7 +492,7 @@ Group.new('pythonBuiltin', c.hue_1, c.none, no)
484
492
Group .new (' pythonStatement' , c .hue_3 , c .none , no )
485
493
Group .new (' pythonParam' , c .hue_6 , c .none , no )
486
494
Group .new (' pythonEscape' , c .hue_5 , c .none , no )
487
- Group .new (' pythonSelf' , c .mono_2 , c .none , i )
495
+ Group .new (' pythonSelf' , c .mono_2 , c .none , italics )
488
496
Group .new (' pythonClass' , c .hue_2 , c .none , no )
489
497
Group .new (' pythonOperator' , c .hue_3 , c .none , no )
490
498
Group .new (' pythonEscape' , c .hue_5 , c .none , no )
@@ -531,7 +539,7 @@ Group.new('vimCommentTitle', c.mono_3, c.none, b)
531
539
Group .new (' vimFunction' , c .hue_1 , c .none , no )
532
540
Group .new (' vimFuncName' , c .hue_3 , c .none , no )
533
541
Group .new (' vimHighlight' , c .hue_2 , c .none , no )
534
- Group .new (' vimLineComment' , c .mono_3 , c .none , i )
542
+ Group .new (' vimLineComment' , c .mono_3 , c .none , italics )
535
543
Group .new (' vimParenSep' , c .mono_2 , c .none , no )
536
544
Group .new (' vimSep' , c .mono_2 , c .none , no )
537
545
Group .new (' vimUserFunc' , c .hue_1 , c .none , no )
0 commit comments