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/4] 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 da7c3f81ef63daa7d9302276e0c6114460cb5b5f Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Sun, 29 Mar 2020 21:34:28 +0200 Subject: [PATCH 2/4] 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 3/4] 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 4/4] 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', {})