Skip to content

Commit 3cc0720

Browse files
committed
Fix rakr#42: Improved C/C++ color scheme, replicating atom as closely as possible.
1 parent ccef536 commit 3cc0720

File tree

1 file changed

+26
-4
lines changed

1 file changed

+26
-4
lines changed

colors/one.vim

Lines changed: 26 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -415,10 +415,32 @@ if has('gui_running') || &t_Co == 88 || &t_Co == 256
415415
" }}}
416416

417417
" C/C++ highlighting ------------------------------------------------------{{{
418-
call <sid>X('cConstant', s:hue_6, '', '')
419-
call <sid>X('cType', s:hue_3, '', '')
420-
421-
call <sid>X('cCppString', s:hue_4, '', '')
418+
call <sid>X('cInclude', s:hue_3, '', '')
419+
call <sid>X('cPreCondit', s:hue_3, '', '')
420+
call <sid>X('cPreConditMatch', s:hue_3, '', '')
421+
422+
call <sid>X('cType', s:hue_3, '', '')
423+
call <sid>X('cStorageClass', s:hue_3, '', '')
424+
call <sid>X('cStructure', s:hue_3, '', '')
425+
call <sid>X('cOperator', s:hue_3, '', '')
426+
call <sid>X('cStatement', s:hue_3, '', '')
427+
call <sid>X('cCommentL', s:mono_3, '', '')
428+
call <sid>X('cComment', s:mono_3, '', '')
429+
call <sid>X('cTODO', s:hue_3, '', '')
430+
call <sid>X('cConstant', s:hue_6, '', '')
431+
call <sid>X('cSpecial', s:hue_1, '', '')
432+
call <sid>X('cSpecialCharacter', s:hue_1, '', '')
433+
call <sid>X('cString', s:hue_4, '', '')
434+
435+
call <sid>X('cppType', s:hue_3, '', '')
436+
call <sid>X('cppStorageClass', s:hue_3, '', '')
437+
call <sid>X('cppStructure', s:hue_3, '', '')
438+
call <sid>X('cppModifier', s:hue_3, '', '')
439+
call <sid>X('cppOperator', s:hue_3, '', '')
440+
call <sid>X('cppAccess', s:hue_3, '', '')
441+
call <sid>X('cppStatement', s:hue_3, '', '')
442+
call <sid>X('cppConstant', s:hue_5, '', '')
443+
call <sid>X('cCppString', s:hue_4, '', '')
422444
" }}}
423445

424446
" Cucumber highlighting ---------------------------------------------------{{{

0 commit comments

Comments
 (0)