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 01/21] 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 02/21] 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 03/21] 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 608a52eebde22e0adbdd0b95bc27880d7d5b547f Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Sun, 29 Mar 2020 21:20:57 +0200 Subject: [PATCH 04/21] Add shell script keywords --- colors/codedark.vim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index b043c16..c69e676 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', {}) +" SH: +call hi('shDeref', s:cdLightBlue, {}, 'none', {}) +call hi('shVariable', s:cdLightBlue, {}, 'none', {}) From bca8351096890f08168cdbd28df57afe9d094848 Mon Sep 17 00:00:00 2001 From: 89luca89 Date: Sun, 29 Mar 2020 21:32:39 +0200 Subject: [PATCH 05/21] Add YellowOrange for Special --- colors/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index c69e676..08a6ba8 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -203,7 +203,7 @@ call hi('StorageClass', s:cdBlue, {}, 'none', {}) call hi('Structure', s:cdBlue, {}, 'none', {}) call hi('Typedef', s:cdBlue, {}, 'none', {}) -call hi('Special', s:cdFront, {}, 'none', {}) +call hi('Special', s:cdYellowOrange, {}, 'none', {}) call hi('SpecialChar', s:cdFront, {}, 'none', {}) call hi('Tag', s:cdFront, {}, 'none', {}) call hi('Delimiter', s:cdFront, {}, 'none', {}) From 2120c558ca7a0336d526e333124e734ede0181ff Mon Sep 17 00:00:00 2001 From: Thong Date: Fri, 31 Jul 2020 20:58:11 -0700 Subject: [PATCH 06/21] Make search results visible --- colors/codedark.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 4fa811a..74cb2f9 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -98,8 +98,8 @@ let s:cdDiffRedLightLight = {'gui': '#FB0101', 'cterm': s:cterm08, 'cterm256': ' let s:cdDiffGreenDark = {'gui': '#373D29', 'cterm': s:cterm0B, 'cterm256': '237'} let s:cdDiffGreenLight = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} -let s:cdSearchCurrent = {'gui': '#49545F', 'cterm': s:cterm09, 'cterm256': '236'} -let s:cdSearch = {'gui': '#4C4E50', 'cterm': s:cterm0A, 'cterm256': '236'} +let s:cdSearchCurrent = {'gui': '#4B5632', 'cterm': s:cterm09, 'cterm256': '58'} +let s:cdSearch = {'gui': '#264F78', 'cterm': s:cterm03, 'cterm256': '24'} " Syntax colors: 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 07/21] 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', {}) From 289ce1430a7b6e4fa9126bcafc7709134a641dc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Iser?= Date: Wed, 26 Aug 2020 23:06:53 +0200 Subject: [PATCH 08/21] Updating green color to match VS Code --- colors/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 9080808..169f591 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'} From 46be2426f5cc0e7f48dc1e71cb5f578289560bdc Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Tue, 5 Jan 2021 19:09:23 +0100 Subject: [PATCH 09/21] Add diff colors --- colors/codedark.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index 169f591..24596ec 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -443,6 +443,10 @@ call hi('gitcommitOverflow', s:cdRed, {}, 'none', {}) call hi('gitcommitSummary', s:cdPink, {}, 'none', {}) call hi('gitcommitBlank', s:cdPink, {}, 'none', {}) +" Diff: +call hi('diffAdded', s:cdLightGreen, {}, 'none', {}) +call hi('diffRemoved', s:cdLightRed, {}, 'none', {}) + " Lua: call hi('luaFuncCall', s:cdYellow, {}, 'none', {}) call hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) From 806424c64343e7c6917bf5907795242787b46573 Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Fri, 8 Jan 2021 11:44:06 +0100 Subject: [PATCH 10/21] Add aliases for legacy groups --- colors/codedark.vim | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 24596ec..be6361f 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -169,6 +169,11 @@ call hi('VisualNOS', s:cdNone, s:cdSelection, 'none', {}) call hi('WarningMsg', s:cdOrange, s:cdBack, 'none', {}) call hi('WildMenu', s:cdNone, s:cdSelection, 'none', {}) +" Legacy groups for official git.vim and diff.vim syntax +hi! link diffAdded DiffAdd +hi! link diffChanged DiffChange +hi! link diffRemoved DiffDelete + call hi('Comment', s:cdGreen, {}, 'none', {}) call hi('Constant', s:cdBlue, {}, 'none', {}) @@ -443,10 +448,6 @@ call hi('gitcommitOverflow', s:cdRed, {}, 'none', {}) call hi('gitcommitSummary', s:cdPink, {}, 'none', {}) call hi('gitcommitBlank', s:cdPink, {}, 'none', {}) -" Diff: -call hi('diffAdded', s:cdLightGreen, {}, 'none', {}) -call hi('diffRemoved', s:cdLightRed, {}, 'none', {}) - " Lua: call hi('luaFuncCall', s:cdYellow, {}, 'none', {}) call hi('luaFuncArgName', s:cdLightBlue, {}, 'none', {}) From e1ebde7aad081200cac16658dc24acf927b8db1e Mon Sep 17 00:00:00 2001 From: Karl Horky Date: Sat, 9 Jan 2021 17:18:43 +0100 Subject: [PATCH 11/21] Update DiffAdd color --- colors/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index be6361f..15c8f9f 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -134,7 +134,7 @@ call hi('Cursor', s:cdCursorDark, s:cdCursorLight, 'none', {}) call hi('CursorLine', {}, s:cdCursorDarkDark, 'none', {}) call hi('CursorColumn', {}, s:cdCursorDarkDark, 'none', {}) call hi('Directory', s:cdBlue, s:cdBack, 'none', {}) -call hi('DiffAdd', {}, s:cdDiffGreenDark, 'none', {}) +call hi('DiffAdd', {}, s:cdDiffGreenLight, 'none', {}) call hi('DiffChange', {}, s:cdDiffRedDark, 'none', {}) call hi('DiffDelete', {}, s:cdDiffRedLight, 'none', {}) call hi('DiffText', {}, s:cdDiffRedLight, 'none', {}) From 2c11cee108fd2cdcdb0e1d814880494774c3c8ec Mon Sep 17 00:00:00 2001 From: mofiqul Date: Sun, 14 Mar 2021 16:04:28 +0530 Subject: [PATCH 12/21] Neovim Treesitter support Neovim Treesitter support Todo highlight with cdPink CocExplorer indentline highlight --- colors/codedark.vim | 65 ++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 64 insertions(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 15c8f9f..121ce87 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -126,6 +126,9 @@ if g:codedark_conservative | let s:cdYellow = s:cdFront | endif let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'} if g:codedark_conservative | let s:cdPink = s:cdBlue | endif + + + " Vim editor colors " hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL) call hi('Normal', s:cdFront, s:cdBack, 'none', {}) @@ -219,13 +222,71 @@ call hi('Ignore', s:cdFront, {}, 'none', {}) call hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) -call hi('Todo', s:cdNone, s:cdLeftMid, 'none', {}) +call hi('Todo', s:cdPink, 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) + +" Neovim Treesitter: +call hi('TSError', s:cdRed, {}, 'none', {}) +call hi('TSPunctDelimiter', s:cdFront, {}, 'none', {}) +call hi('TSPunctBracket', s:cdFront, {}, 'none', {}) +call hi('TSPunctSpecial', s:cdFront, {}, 'none', {}) +" Constant +call hi('TSConstant', s:cdYellow, {}, 'none', {}) +call hi('TSConstBuiltin', s:cdBlue, {}, 'none', {}) +call hi('TSConstMacro', s:cdBlueGreen, {}, 'none', {}) +call hi('TSStringRegex', s:cdOrange, {}, 'none', {}) +call hi('TSString', s:cdOrange, {}, 'none', {}) +call hi('TSStringEscape', s:cdYellowOrange, {}, 'none', {}) +call hi('TSCharacter', s:cdOrange, {}, 'none', {}) +call hi('TSNumber', s:cdLightGreen, {}, 'none', {}) +call hi('TSBoolean', s:cdBlue, {}, 'none', {}) +call hi('TSFloat', s:cdLightGreen, {}, 'none', {}) +call hi('TSAnnotation', s:cdYellow, {}, 'none', {}) +call hi('TSAttribute', s:cdBlueGreen, {}, 'none', {}) +call hi('TSNamespace', s:cdBlueGreen, {}, 'none', {}) +" Functions +call hi('TSFuncBuiltin', s:cdYellow, {}, 'none', {}) +call hi('TSFunction', s:cdYellow, {}, 'none', {}) +call hi('TSFuncMacro', s:cdYellow, {}, 'none', {}) +call hi('TSParameter', s:cdLightBlue, {}, 'none', {}) +call hi('TSParameterReference', s:cdLightBlue, {}, 'none', {}) +call hi('TSMethod', s:cdYellow, {}, 'none', {}) +call hi('TSField', s:cdLightBlue, {}, 'none', {}) +call hi('TSProperty', s:cdLightBlue, {}, 'none', {}) +call hi('TSConstructor', s:cdBlueGreen, {}, 'none', {}) +" Keywords +call hi('TSConditional', s:cdPink, {}, 'none', {}) +call hi('TSRepeat', s:cdPink, {}, 'none', {}) +call hi('TSLabel', s:cdLightBlue, {}, 'none', {}) +call hi('TSKeyword', s:cdBlue, {}, 'none', {}) +call hi('TSKeywordFunction', s:cdPink, {}, 'none', {}) +call hi('TSKeywordOperator', s:cdBlue, {}, 'none', {}) +call hi('TSOperator', s:cdFront, {}, 'none', {}) +call hi('TSException', s:cdPink, {}, 'none', {}) +call hi('TSType', s:cdBlueGreen, {}, 'none', {}) +call hi('TSTypeBuiltin', s:cdBlue, {}, 'none', {}) +call hi('TSStructure', s:cdLightBlue, {}, 'none', {}) +call hi('TSInclude', s:cdPink, {}, 'none', {}) +" Variable +call hi('TSVariable', s:cdLightBlue, {}, 'none', {}) +call hi('TSVariableBuiltin', s:cdLightBlue, {}, 'none', {}) +" Text +call hi('TSText', s:cdYellowOrange, {}, 'none', {}) +call hi('TSStrong', s:cdYellowOrange, {}, 'none', {}) +call hi('TSEmphasis', s:cdYellowOrange, {}, 'none', {}) +call hi('TSUnderline', s:cdYellowOrange, {}, 'none', {}) +call hi('TSTitle', s:cdYellowOrange, {}, 'none', {}) +call hi('TSLiteral', s:cdYellowOrange, {}, 'none', {}) +call hi('TSURI', s:cdYellowOrange, {}, 'none', {}) +" Tags +call hi('TSTag', s:cdBlue, {}, 'none', {}) +call hi('TSTagDelimiter', s:cdGray, {}, 'none', {}) + " Markdown: call hi('markdownBold', s:cdBlue, {}, 'bold', {}) call hi('markdownCode', s:cdOrange, {}, 'none', {}) @@ -468,3 +529,5 @@ call hi('sqlOperator', s:cdPink, {}, 'none', {}) call hi('yamlKey', s:cdBlue, {}, 'none', {}) call hi('yamlConstant', s:cdBlue, {}, 'none', {}) +" Coc Explorer: +call hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) From 1960da3b317ed03d8207819e5ec66ad0f5d3ef32 Mon Sep 17 00:00:00 2001 From: mofiqul Date: Sun, 4 Apr 2021 20:02:37 +0530 Subject: [PATCH 13/21] Neovim Tree-sitter support --- colors/codedark.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index 121ce87..62b4c76 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -126,9 +126,6 @@ if g:codedark_conservative | let s:cdYellow = s:cdFront | endif let s:cdPink = {'gui': '#C586C0', 'cterm': s:cterm0E, 'cterm256': '176'} if g:codedark_conservative | let s:cdPink = s:cdBlue | endif - - - " Vim editor colors " hi(GROUP, FOREGROUND, BACKGROUND, ATTRIBUTE, SPECIAL) call hi('Normal', s:cdFront, s:cdBack, 'none', {}) @@ -222,7 +219,7 @@ call hi('Ignore', s:cdFront, {}, 'none', {}) call hi('Error', s:cdRed, s:cdBack, 'undercurl', s:cdRed) -call hi('Todo', s:cdPink, s:cdLeftMid, 'none', {}) +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) From d42c8c6704c63ec1dc363e98656dd52a21ed3aea Mon Sep 17 00:00:00 2001 From: visogh Date: Fri, 9 Apr 2021 09:34:41 +0200 Subject: [PATCH 14/21] - added support for vim default syntax highlighting of Asciidoc --- colors/codedark.vim | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index 15c8f9f..65d4787 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -238,6 +238,29 @@ call hi('markdownUrl', s:cdLightBlue, {}, 'underline', {}) call hi('markdownLinkText', s:cdOrange, {}, 'none', {}) call hi('markdownEscape', s:cdYellowOrange, {}, 'none', {}) +" Asciidoc (for default syntax highlighting) +call hi("asciidocAttributeEntry", s:cdYellowOrange, {}, 'none', {}) +call hi("asciidocAttributeList", s:cdPink, {}, 'none', {}) +call hi("asciidocAttributeRef", s:cdYellowOrange, {}, 'none', {}) +call hi("asciidocHLabel", s:cdBlue, {}, 'bold', {}) +call hi("asciidocListingBlock", s:cdOrange, {}, 'none', {}) +call hi("asciidocMacroAttributes", s:cdYellowOrange, {}, 'none', {}) +call hi("asciidocOneLineTitle", s:cdBlue, {}, 'bold', {}) +call hi("asciidocPassthroughBlock", s:cdBlue, {}, 'none', {}) +call hi("asciidocQuotedMonospaced", s:cdOrange, {}, 'none', {}) +call hi("asciidocTriplePlusPassthrough", s:cdYellow, {}, 'none', {}) +call hi("asciidocMacro", s:cdPink, {}, 'none', {}) +call hi("asciidocAdmonition", s:cdOrange, {}, 'none', {}) +call hi("asciidocQuotedEmphasized", s:cdBlue, {}, 'italic', {}) +call hi("asciidocQuotedEmphasized2", s:cdBlue, {}, 'italic', {}) +call hi("asciidocQuotedEmphasizedItalic", s:cdBlue, {}, 'italic', {}) +hi! link asciidocBackslash Keyword +hi! link asciidocQuotedBold markdownBold +hi! link asciidocQuotedMonospaced2 asciidocQuotedMonospaced +hi! link asciidocQuotedUnconstrainedBold asciidocQuotedBold +hi! link asciidocQuotedUnconstrainedEmphasized asciidocQuotedEmphasized +hi! link asciidocURL markdownUrl + " JSON: call hi('jsonKeyword', s:cdLightBlue, {}, 'none', {}) call hi('jsonEscape', s:cdYellowOrange, {}, 'none', {}) From 768e3cc99f5ee4313b75ad74d9541ca4c1c23c1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Iser?= Date: Fri, 9 Apr 2021 09:56:43 +0200 Subject: [PATCH 15/21] Create pull_request_template.md --- .github/pull_request_template.md | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/pull_request_template.md diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md new file mode 100644 index 0000000..dd3c9c3 --- /dev/null +++ b/.github/pull_request_template.md @@ -0,0 +1 @@ +Hello! Please do not forget to provide a screenshot of the visual changes that your pull request makes! Thank you! :) From 0872dc8a8b1732dd151ccbd070a6853de1d1aec8 Mon Sep 17 00:00:00 2001 From: Carlos Carral C Date: Tue, 14 Sep 2021 10:29:08 -0500 Subject: [PATCH 16/21] Add italics support for Comment and SpecialComment highlight groups and update README.md --- README.md | 4 ++++ colors/codedark.vim | 9 +++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f49533d..d8b89f3 100644 --- a/README.md +++ b/README.md @@ -140,3 +140,7 @@ set guifont=Powerline_Consolas:h11 set renderoptions=type:directx,gamma:1.5,contrast:0.5,geom:1,renmode:5,taamode:1,level:0.5 ``` +### Are italics supported? +Italics in comments can be enabled by setting `g:codedark_italics = 1` before +setting the colorscheme. Please note that your terminal must support rendering italic fonts. + diff --git a/colors/codedark.vim b/colors/codedark.vim index ca848ce..504abfa 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -107,6 +107,11 @@ if !exists("g:codedark_conservative") let g:codedark_conservative=0 endif +" Italicized comments +if !exists("g:codedark_italics") + let g:codedark_italics=0 +endif + let s:cdGray = {'gui': '#808080', 'cterm': s:cterm04, 'cterm256': '08'} let s:cdViolet = {'gui': '#646695', 'cterm': s:cterm04, 'cterm256': '60'} let s:cdBlue = {'gui': '#569CD6', 'cterm': s:cterm0D, 'cterm256': '75'} @@ -174,7 +179,7 @@ hi! link diffAdded DiffAdd hi! link diffChanged DiffChange hi! link diffRemoved DiffDelete -call hi('Comment', s:cdGreen, {}, 'none', {}) +if g:codedark_italics | call hi('Comment', s:cdGreen, {}, 'italic', {}) | else | call hi('Comment', s:cdGreen, {}, 'none', {}) | endif call hi('Constant', s:cdBlue, {}, 'none', {}) call hi('String', s:cdOrange, {}, 'none', {}) @@ -209,7 +214,7 @@ call hi('Special', s:cdYellowOrange, {}, 'none', {}) call hi('SpecialChar', s:cdFront, {}, 'none', {}) call hi('Tag', s:cdFront, {}, 'none', {}) call hi('Delimiter', s:cdFront, {}, 'none', {}) -call hi('SpecialComment', s:cdGreen, {}, 'none', {}) +if g:codedark_italics | call hi('SpecialComment', s:cdGreen, {}, 'italic', {}) | else | call hi('SpecialComment', s:cdGreen, {}, 'none', {}) | endif call hi('Debug', s:cdFront, {}, 'none', {}) call hi('Underlined', s:cdNone, {}, 'underline', {}) From 57cc0096a9e77b6193e295ab62dbdfd9f2b5f65d Mon Sep 17 00:00:00 2001 From: Carlos Carral C Date: Tue, 14 Sep 2021 10:33:21 -0500 Subject: [PATCH 17/21] Extended README.md instructions for setting italics. --- README.md | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d8b89f3..3d84542 100644 --- a/README.md +++ b/README.md @@ -141,6 +141,11 @@ set renderoptions=type:directx,gamma:1.5,contrast:0.5,geom:1,renmode:5,taamode:1 ``` ### Are italics supported? -Italics in comments can be enabled by setting `g:codedark_italics = 1` before -setting the colorscheme. Please note that your terminal must support rendering italic fonts. +Italics in comments can be enabled by setting `g:codedark_italics = 1` _before_ +setting the colorscheme in your `.vimrc` like so: +``` +let g:codedark_italics = 1 +colorscheme codedark +``` +Please note that your terminal must support rendering italic fonts. From cbc95ca4b32bd2afec53f6239f0f464dd0b02200 Mon Sep 17 00:00:00 2001 From: Sammy Heasley Date: Fri, 22 Oct 2021 15:04:53 -0500 Subject: [PATCH 18/21] Use color code 231 for the airline term256 white 15 is the system's base0F color, which may not be white if the user has installed a color theme for their terminal. 231 is the xterm-256color code for #ffffff and is more portable than 15. --- autoload/airline/themes/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/airline/themes/codedark.vim b/autoload/airline/themes/codedark.vim index ec393d8..ef8e7b5 100644 --- a/autoload/airline/themes/codedark.vim +++ b/autoload/airline/themes/codedark.vim @@ -38,7 +38,7 @@ elseif !exists("g:codedark_term256") let g:codedark_term256=0 endif -let s:cdFront = {'gui': '#FFFFFF', 'cterm': (g:codedark_term256 ? '15' : s:cterm07)} +let s:cdFront = {'gui': '#FFFFFF', 'cterm': (g:codedark_term256 ? '231' : s:cterm07)} let s:cdFrontGray = {'gui': '#D4D4D4', 'cterm': (g:codedark_term256 ? '188' : s:cterm05)} let s:cdBack = {'gui': '#1E1E1E', 'cterm': (g:codedark_term256 ? '234' : s:cterm00)} let s:cdSelection = {'gui': '#264F78', 'cterm': (g:codedark_term256 ? '24' : s:cterm01)} From 22349c7ea00713adff28aa0fce5d5ca3089037be Mon Sep 17 00:00:00 2001 From: David <12832280+David-Else@users.noreply.github.com> Date: Sun, 28 Nov 2021 22:05:28 +0000 Subject: [PATCH 19/21] Fix treesitter function color and add nvim-cmp highlights --- colors/codedark.vim | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index ca848ce..fad7ef0 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -261,7 +261,7 @@ call hi('TSConditional', s:cdPink, {}, 'none', {}) call hi('TSRepeat', s:cdPink, {}, 'none', {}) call hi('TSLabel', s:cdLightBlue, {}, 'none', {}) call hi('TSKeyword', s:cdBlue, {}, 'none', {}) -call hi('TSKeywordFunction', s:cdPink, {}, 'none', {}) +call hi('TSKeywordFunction', s:cdBlue, {}, 'none', {}) call hi('TSKeywordOperator', s:cdBlue, {}, 'none', {}) call hi('TSOperator', s:cdFront, {}, 'none', {}) call hi('TSException', s:cdPink, {}, 'none', {}) @@ -551,3 +551,15 @@ call hi('yamlConstant', s:cdBlue, {}, 'none', {}) " Coc Explorer: call hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) + +" nvim-cmp +call hi('CmpItemAbbrMatch', s:cdBlue, {}, 'none', {}) +call hi('CmpItemAbbrMatchFuzzy', s:cdBlue, {}, 'none', {}) +call hi('CmpItemKindVariable', s:cdLightBlue, {}, 'none', {}) +call hi('CmpItemKindInterface', s:cdLightBlue, {}, 'none', {}) +call hi('CmpItemKindText', s:cdLightBlue, {}, 'none', {}) +call hi('CmpItemKindFunction', s:cdPink, {}, 'none', {}) +call hi('CmpItemKindMethod ', s:cdPink, {}, 'none', {}) +call hi('CmpItemKindKeyword', s:cdFront, {}, 'none', {}) +call hi('CmpItemKindProperty', s:cdFront, {}, 'none', {}) +call hi('CmpItemKindUnit', s:cdFront, {}, 'none', {}) From b2299663fb1d606f9b09c493cc4896ce2930aac9 Mon Sep 17 00:00:00 2001 From: David <12832280+David-Else@users.noreply.github.com> Date: Sun, 28 Nov 2021 22:50:59 +0000 Subject: [PATCH 20/21] Add CmpItemAbbrDeprecated --- colors/codedark.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/colors/codedark.vim b/colors/codedark.vim index fad7ef0..a479938 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -553,6 +553,7 @@ call hi('yamlConstant', s:cdBlue, {}, 'none', {}) call hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) " nvim-cmp +call hi('CmpItemAbbrDeprecated', s:cdGray, {}, 'none', {}) call hi('CmpItemAbbrMatch', s:cdBlue, {}, 'none', {}) call hi('CmpItemAbbrMatchFuzzy', s:cdBlue, {}, 'none', {}) call hi('CmpItemKindVariable', s:cdLightBlue, {}, 'none', {}) From 1da95477514d89b4ab1a54072a778ae98cf182d0 Mon Sep 17 00:00:00 2001 From: David <12832280+David-Else@users.noreply.github.com> Date: Sun, 28 Nov 2021 23:02:19 +0000 Subject: [PATCH 21/21] Add strikethrough --- colors/codedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/codedark.vim b/colors/codedark.vim index a479938..4f0b072 100644 --- a/colors/codedark.vim +++ b/colors/codedark.vim @@ -553,7 +553,7 @@ call hi('yamlConstant', s:cdBlue, {}, 'none', {}) call hi('CocExplorerIndentLine', s:cdCursorDark, {}, 'none', {}) " nvim-cmp -call hi('CmpItemAbbrDeprecated', s:cdGray, {}, 'none', {}) +call hi('CmpItemAbbrDeprecated', s:cdGray, {}, 'strikethrough', {}) call hi('CmpItemAbbrMatch', s:cdBlue, {}, 'none', {}) call hi('CmpItemAbbrMatchFuzzy', s:cdBlue, {}, 'none', {}) call hi('CmpItemKindVariable', s:cdLightBlue, {}, 'none', {})