From a3af928ad5c107a229c287ee2e561935737b7eb7 Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Sat, 29 May 2021 10:08:25 -0300 Subject: [PATCH] Update highlights for Neovim LSP diagnostics (#229) To ensure compatibility with the latest versions of Neovim LSP the highlighting groups for diagnostics have been adapted to the changes of neovim/neovim#12655 [1]. See :help lsp-highlight-diagnostics [2] for more details. Note that LSP will be available as of Neovim 0.5 which is (at the time of this commit) still in development and only available as nighly build. Also see great articles from Nord Vim contributors like "Neovim (0.5) Is Overpowering" [3] for more information about Neovim 0.5 features, including LSP. [1]: https://github.com/neovim/neovim/pull/12655 [2]: https://neovim.io/doc/user/lsp.html [3]: https://crispgm.com/page/neovim-is-overpowering.html Co-authored-by: Sven Greb Closes GH-229 Closes GH-248 --- colors/nord.vim | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index deac972c..234ecbee 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -572,12 +572,16 @@ call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("CocInfoSign" , s:nord8_gui, "", s:nord8_term, "", "", "") call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "") -" Nvim LSP -" > neovim/nvim-lsp -call s:hi("LSPDiagnosticsWarning", s:nord13_gui, "", s:nord13_term, "", "", "") -call s:hi("LSPDiagnosticsError" , s:nord11_gui, "", s:nord11_term, "", "", "") -call s:hi("LSPDiagnosticsInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") -call s:hi("LSPDiagnosticsHint" , s:nord10_gui, "", s:nord10_term, "", "", "") +" Neovim LSP +" > neovim/nvim-lspconfig +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, "", "", "") +call s:hi("LspDiagnosticsDefaultHint" , s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("LspDiagnosticsUnderlineWarning" , s:nord13_gui, "", s:nord13_term, "", "undercurl", "") +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", "") " GitGutter " > airblade/vim-gitgutter