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 1/3] 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 2/3] 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 3/3] 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', {})