From b602a041e1f43b7a69740eb642f4fc0c61aa3e71 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Sat, 10 Jul 2021 19:32:48 +0200 Subject: [PATCH 1/4] add support for Lsp codelens code lenses are currently highlighted with the default color. This change adjusts it to make it less visually intrusive like comments. It is based on the VS code highlighting. --- colors/nord.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/colors/nord.vim b/colors/nord.vim index 9f7d6502..76ee54a4 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -574,6 +574,7 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") " Neovim LSP " > neovim/nvim-lspconfig +call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", s:italicize_comments, "") call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") From dfda6dde6869e5a7a98d1d0b440043eecfd52d6c Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Wed, 28 Jul 2021 22:34:55 +0200 Subject: [PATCH 2/4] Link to custom `Comment` group and move to end of block --- colors/nord.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/nord.vim b/colors/nord.vim index 76ee54a4..18c34953 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -574,7 +574,6 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") " Neovim LSP " > neovim/nvim-lspconfig -call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", s:italicize_comments, "") call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") @@ -583,6 +582,7 @@ call s:hi("LspDiagnosticsUnderlineWarning" , s:nord13_gui, "", s:nord13_term, "" call s:hi("LspDiagnosticsUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") call s:hi("LspDiagnosticsUnderlineInformation" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") call s:hi("LspDiagnosticsUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") +hi! link LspCodeLens Comment " GitGutter " > airblade/vim-gitgutter From 9810cb2e8c72e7839349bcb84d9a6b86ac903970 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Sun, 5 Sep 2021 17:40:40 +0100 Subject: [PATCH 3/4] Revert "Link to custom `Comment` group and move to end of block" This reverts commit dfda6dde6869e5a7a98d1d0b440043eecfd52d6c. --- colors/nord.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/nord.vim b/colors/nord.vim index 18c34953..76ee54a4 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -574,6 +574,7 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") " Neovim LSP " > neovim/nvim-lspconfig +call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", s:italicize_comments, "") call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") @@ -582,7 +583,6 @@ call s:hi("LspDiagnosticsUnderlineWarning" , s:nord13_gui, "", s:nord13_term, "" call s:hi("LspDiagnosticsUnderlineError" , s:nord11_gui, "", s:nord11_term, "", "undercurl", "") call s:hi("LspDiagnosticsUnderlineInformation" , s:nord8_gui, "", s:nord8_term, "", "undercurl", "") call s:hi("LspDiagnosticsUnderlineHint" , s:nord10_gui, "", s:nord10_term, "", "undercurl", "") -hi! link LspCodeLens Comment " GitGutter " > airblade/vim-gitgutter From a47fb22bda0661f9d6383e3c5e01fc440e2d3c32 Mon Sep 17 00:00:00 2001 From: Jan Steinke Date: Sun, 5 Sep 2021 17:46:26 +0100 Subject: [PATCH 4/4] remove is italicized from codelense --- colors/nord.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/nord.vim b/colors/nord.vim index 76ee54a4..a0a65fdb 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -574,7 +574,7 @@ call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") " Neovim LSP " > neovim/nvim-lspconfig -call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", s:italicize_comments, "") +call s:hi("LspCodeLens", s:nord3_gui_bright, "", s:nord3_term, "", "", "") call s:hi("LspDiagnosticsDefaultWarning", s:nord13_gui, "", s:nord13_term, "", "", "") call s:hi("LspDiagnosticsDefaultError" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("LspDiagnosticsDefaultInformation" , s:nord8_gui, "", s:nord8_term, "", "", "")