aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Gabriel Sanches <gabriel@gsr.dev>2021-05-29 10:08:25 -0300
committerGravatar GitHub <noreply@github.com>2021-05-29 15:08:25 +0200
commita3af928ad5c107a229c287ee2e561935737b7eb7 (patch)
treef82af34f9ec1ec8be65d77297e687cbb3338fe22
parentf3f28b939fd57fb772f4c7c56a0061536057656e (diff)
downloadnord-vim-a3af928ad5c107a229c287ee2e561935737b7eb7.tar.gz
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 <development@svengreb.de> Closes GH-229 Closes GH-248
-rwxr-xr-xcolors/nord.vim16
1 files changed, 10 insertions, 6 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index deac972..234ecbe 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