From 4a9a08d5dd02e9f32087310cd57bc6772a4e364d Mon Sep 17 00:00:00 2001 From: Gabriel Sanches Date: Thu, 29 Oct 2020 11:30:14 -0300 Subject: [PATCH] Update highlights for Neovim LSP diagnostics After https://github.com/neovim/neovim/pull/12655 has been merged, highlights have changed a little, so this commit updates the obsolete highlight groups. --- colors/nord.vim | 28 ++++++++++++++++++++++------ 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index 5a251dae..625b80c2 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -571,12 +571,28 @@ 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("LspDiagnosticsVirtualTextWarning", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("LspDiagnosticsVirtualTextError" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("LspDiagnosticsVirtualTextInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("LspDiagnosticsVirtualTextHint" , s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("LspDiagnosticsFloatingWarning", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("LspDiagnosticsFloatingError" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("LspDiagnosticsFloatingInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("LspDiagnosticsFloatingHint" , s:nord10_gui, "", s:nord10_term, "", "", "") +call s:hi("LspDiagnosticsSignWarning", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("LspDiagnosticsSignError" , s:nord11_gui, "", s:nord11_term, "", "", "") +call s:hi("LspDiagnosticsSignInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("LspDiagnosticsSignHint" , 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