diff --git a/colors/codedark.vim b/colors/codedark.vim index 529ce0c..7c018c0 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -113,7 +113,7 @@ let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'} let s:cdDarkBlue = {'gui': '#223E55', 'cterm': s:cterm0D, 'cterm256': '73'} let s:cdLightBlue = {'gui': '#9CDCFE', 'cterm': s:cterm0C, 'cterm256': '117'} if g:codedark_conservative | let s:cdLightBlue = s:cdFront | endif -let s:cdGreen = {'gui': '#608B4E', 'cterm': s:cterm0B, 'cterm256': '65'} +let s:cdGreen = {'gui': '#6A9955', 'cterm': s:cterm0B, 'cterm256': '65'} let s:cdBlueGreen = {'gui': '#4EC9B0', 'cterm': s:cterm0F, 'cterm256': '43'} let s:cdLightGreen = {'gui': '#B5CEA8', 'cterm': s:cterm09, 'cterm256': '151'} let s:cdRed = {'gui': '#F44747', 'cterm': s:cterm08, 'cterm256': '203'} @@ -189,10 +189,9 @@ call hi('Repeat', s:cdPink, {}, 'none', {}) call hi('Label', s:cdPink, {}, 'none', {}) call hi('Operator', s:cdFront, {}, 'none', {}) call hi('Keyword', s:cdPink, {}, 'none', {}) -call hi('pythonOperator', s:cdPink, {}, 'none', {}) call hi('Exception', s:cdPink, {}, 'none', {}) -call hi('PreProc', s:cdPink, {}, 'none', {}) +call hi('PreProc', s:cdBlue, {}, 'none', {}) call hi('Include', s:cdPink, {}, 'none', {}) call hi('Define', s:cdPink, {}, 'none', {}) call hi('Macro', s:cdPink, {}, 'none', {}) @@ -282,3 +281,28 @@ call hi('goReceiverType', s:cdDarkBlue, {}, 'none', {}) call hi('goFunctionCall', s:cdYellow, {}, 'none', {}) call hi('goMethodCall', s:cdYellow, {}, 'none', {}) call hi('goSingleDecl', s:cdLightBlue, {}, 'none', {}) + +" Python: +if exists('g:python_highlight_builtin_funcs_kwarg') + call hi('pythonStatement', s:cdBlue, {}, 'none', {}) + call hi('pythonOperator', s:cdBlue, {}, 'none', {}) + call hi('pythonException', s:cdPink, {}, 'none', {}) + call hi('pythonExClass', s:cdBlueGreen, {}, 'none', {}) + call hi('pythonBuiltinObj', s:cdLightBlue, {}, 'none', {}) + call hi('pythonBuiltinType', s:cdBlueGreen, {}, 'none', {}) + call hi('pythonBoolean', s:cdBlue, {}, 'none', {}) + call hi('pythonNone', s:cdBlue, {}, 'none', {}) + call hi('pythonTodo', s:cdBlue, {}, 'none', {}) + call hi('pythonClassVar', s:cdBlue, {}, 'none', {}) + call hi('pythonClassDef', s:cdBlueGreen, {}, 'none', {}) +endif + +" TeX: +call hi('texStatement', s:cdBlue, {}, 'none', {}) +call hi('texBeginEnd', s:cdYellow, {}, 'none', {}) +call hi('texBeginEndName', s:cdLightBlue, {}, 'none', {}) +call hi('texOption', s:cdLightBlue, {}, 'none', {}) +call hi('texBeginEndModifier', s:cdLightBlue, {}, 'none', {}) +call hi('texDocType', s:cdPink, {}, 'none', {}) +call hi('texDocTypeArgs', s:cdLightBlue, {}, 'none', {}) +