From 22ca35cb4ef21d7c098b77f7658256aba23ec462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Starski?= Date: Fri, 17 Jan 2020 21:49:54 +0100 Subject: [PATCH 1/7] Added basic support for PHP files, extended support for html and css --- colors/codedark.vim | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index b8af5df..e0def32 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -206,7 +206,7 @@ call hi('Typedef', s:cdBlue, {}, 'none', {}) call hi('Special', s:cdFront, {}, 'none', {}) call hi('SpecialChar', s:cdFront, {}, 'none', {}) call hi('Tag', s:cdFront, {}, 'none', {}) -call hi('Delimiter', s:cdFront, {}, 'none', {}) +call hi('Delimiter', s:cdBlue, {}, 'none', {}) call hi('SpecialComment', s:cdGreen, {}, 'none', {}) call hi('Debug', s:cdFront, {}, 'none', {}) @@ -244,6 +244,16 @@ call hi('htmlTagName', s:cdBlue, {}, 'none', {}) call hi('htmlSpecialTagName', s:cdBlue, {}, 'none', {}) call hi('htmlArg', s:cdLightBlue, {}, 'none', {}) +" PHP: +call hi('phpStaticClasses', s:cdBlueGreen, {}, 'none', {}) +call hi('phpMethod', s:cdYellow, {}, 'none', {}) +call hi('phpClass', s:cdBlueGreen, {}, 'none', {}) +call hi('phpFunction', s:cdYellow, {}, 'none', {}) +call hi('phpInclude', s:cdBlue, {}, 'none', {}) +call hi('phpUseClass', s:cdBlueGreen, {}, 'none', {}) +call hi('phpRegion', s:cdBlueGreen, {}, 'none', {}) +call hi('phpMethodsVar', s:cdLightBlue, {}, 'none', {}) + " CSS: call hi('cssBraces', s:cdFront, {}, 'none', {}) call hi('cssInclude', s:cdPink, {}, 'none', {}) @@ -264,10 +274,13 @@ call hi('cssVendor', s:cdOrange, {}, 'none', {}) call hi('cssValueNumber', s:cdOrange, {}, 'none', {}) call hi('cssValueLength', s:cdOrange, {}, 'none', {}) call hi('cssUnitDecorators', s:cdOrange, {}, 'none', {}) +call hi('cssStyle', s:cdLightBlue, {}, 'none', {}) +call hi('cssImportant', s:cdBlue, {}, 'none', {}) " JavaScript: call hi('jsVariableDef', s:cdLightBlue, {}, 'none', {}) call hi('jsFuncArgs', s:cdLightBlue, {}, 'none', {}) +call hi('jsFuncBlock', s:cdLightBlue, {}, 'none', {}) call hi('jsRegexpString', s:cdLightRed, {}, 'none', {}) call hi('jsThis', s:cdBlue, {}, 'none', {}) call hi('jsOperatorKeyword', s:cdBlue, {}, 'none', {}) @@ -283,6 +296,10 @@ call hi('jsFuncCall', s:cdYellow, {}, 'none', {}) call hi('jsObjectValue', s:cdLightBlue, {}, 'none', {}) call hi('jsParen', s:cdLightBlue, {}, 'none', {}) call hi('jsObjectProp', s:cdLightBlue, {}, 'none', {}) +call hi('jsIfElseBlock', s:cdLightBlue, {}, 'none', {}) +call hi('jsParenIfElse', s:cdLightBlue, {}, 'none', {}) +call hi('jsSpreadOperator', s:cdLightBlue, {}, 'none', {}) +call hi('jsSpreadExpression', s:cdLightBlue, {}, 'none', {}) " XML: call hi('xmlTag', s:cdBlueGreen, {}, 'none', {}) @@ -363,3 +380,4 @@ call hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) call hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) call hi('luaLocal', s:cdPink, {}, 'none', {}) call hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) + From 75a711ae114bb96e3d89c8082efc13e56a71edf1 Mon Sep 17 00:00:00 2001 From: "Gallo, Steven" Date: Fri, 6 Mar 2020 10:24:48 -0500 Subject: [PATCH 2/7] Add keywords for better SQL syntax hilighting --- colors/codedark.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index b043c16..4256585 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -430,3 +430,8 @@ call hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) call hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) call hi('luaLocal', s:cdPink, {}, 'none', {}) call hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) + +" SQL: +call hi('sqlKeyword', s:cdPink, {}, 'none', {}) +call hi('sqlFunction', s:cdYellowOrange, {}, 'none', {}) +call hi('sqlOperator', s:cdPink, {}, 'none', {}) From 87cdbff0611f9d1b64a69a86ab6fc1eeee5665db Mon Sep 17 00:00:00 2001 From: Morgaux <34286986+Morgaux@users.noreply.github.com> Date: Wed, 25 Mar 2020 19:05:21 +1300 Subject: [PATCH 3/7] Update codedark.vim Add highlighting for spell checking --- colors/codedark.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index b043c16..221c63b 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -219,6 +219,11 @@ call hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) call hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) +call hi('SpellBad', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call hi('SpellCap', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call hi('SpellRare', s:cdRed, s:cdBack, 'undercurl', s:cdRed) +call hi('SpellLocal', s:cdRed, s:cdBack, 'undercurl', s:cdRed) + " Markdown: call hi('markdownBold', s:cdBlue, {}, 'bold', {}) call hi('markdownCode', s:cdOrange, {}, 'none', {}) From da7c3f81ef63daa7d9302276e0c6114460cb5b5f Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Sun, 29 Mar 2020 21:34:28 +0200 Subject: [PATCH 4/7] Golang use BlueGreen for types --- colors/codedark.vim | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index b043c16..4d90392 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -368,11 +368,11 @@ call hi('goImport', s:cdBlue, {}, 'none', {}) call hi('goVar', s:cdBlue, {}, 'none', {}) call hi('goConst', s:cdBlue, {}, 'none', {}) call hi('goStatement', s:cdPink, {}, 'none', {}) -call hi('goType', s:cdBlue, {}, 'none', {}) -call hi('goSignedInts', s:cdBlue, {}, 'none', {}) -call hi('goUnsignedInts', s:cdBlue, {}, 'none', {}) -call hi('goFloats', s:cdBlue, {}, 'none', {}) -call hi('goComplexes', s:cdBlue, {}, 'none', {}) +call hi('goType', s:cdBlueGreen, {}, 'none', {}) +call hi('goSignedInts', s:cdBlueGreen, {}, 'none', {}) +call hi('goUnsignedInts', s:cdBlueGreen, {}, 'none', {}) +call hi('goFloats', s:cdBlueGreen, {}, 'none', {}) +call hi('goComplexes', s:cdBlueGreen, {}, 'none', {}) call hi('goBuiltins', s:cdYellow, {}, 'none', {}) call hi('goBoolean', s:cdBlue, {}, 'none', {}) call hi('goPredefinedIdentifiers', s:cdBlue, {}, 'none', {}) From 5819d261c7987da5479889f83f2e1e33577adfec Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Sun, 29 Mar 2020 21:40:24 +0200 Subject: [PATCH 5/7] Add Blue accent to YAML keys and constants --- colors/codedark.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index b043c16..3fa32b6 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -430,3 +430,6 @@ call hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) call hi('luaFuncKeyword', s:cdPink, {}, 'none', {}) call hi('luaLocal', s:cdPink, {}, 'none', {}) call hi('luaBuiltIn', s:cdBlue, {}, 'none', {}) +" YAML: +call hi('yamlKey', s:cdBlue, {}, 'none', {}) +call hi('yamlConstant', s:cdBlue, {}, 'none', {}) From 3aa0ae22f19a128d0d078546b38fb869f8a4cce5 Mon Sep 17 00:00:00 2001 From: Maximilien Zaleski Date: Tue, 26 May 2020 11:40:17 +0100 Subject: [PATCH 6/7] Changed goReceiverType to cdFront --- colors/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index b043c16..c917eb5 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -384,7 +384,7 @@ call hi('goTypeName', s:cdBlueGreen, {}, 'none', {}) call hi('goVarAssign', s:cdLightBlue, {}, 'none', {}) call hi('goVarDefs', s:cdLightBlue, {}, 'none', {}) call hi('goReceiver', s:cdFront, {}, 'none', {}) -call hi('goReceiverType', s:cdDarkBlue, {}, 'none', {}) +call hi('goReceiverType', s:cdFront, {}, 'none', {}) call hi('goFunctionCall', s:cdYellow, {}, 'none', {}) call hi('goMethodCall', s:cdYellow, {}, 'none', {}) call hi('goSingleDecl', s:cdLightBlue, {}, 'none', {}) From 13bc21dbc19a549b10deb4b730aee0ea8b900faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Iser?= Date: Mon, 17 Aug 2020 19:02:27 +0200 Subject: [PATCH 7/7] Remove duplicated Spell* definitions --- colors/codedark.vim | 3 --- 1 file changed, 3 deletions(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 5ecb6ea..f23410f 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -158,9 +158,6 @@ call hi('PmenuThumb', {}, s:cdPopupFront, 'none', {}) call hi('Question', s:cdBlue, s:cdBack, 'none', {}) call hi('Search', s:cdNone, s:cdSearch, 'none', {}) call hi('SpecialKey', s:cdBlue, s:cdNone, 'none', {}) -call hi('SpellBad', s:cdNone, s:cdNone, 'undercurl', {}) -call hi('SpellCap', s:cdNone, s:cdNone, 'undercurl', {}) -call hi('SpellLocal', s:cdNone, s:cdNone, 'undercurl', {}) call hi('StatusLine', s:cdFront, s:cdLeftMid, 'none', {}) call hi('StatusLineNC', s:cdFront, s:cdLeftDark, 'none', {}) call hi('TabLine', s:cdFront, s:cdTabOther, 'none', {})