Skip to content

Commit

Permalink
Update highlights for Neovim LSP diagnostics (nordtheme#229)
Browse files Browse the repository at this point in the history
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]: neovim/neovim#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 nordthemeGH-229
Closes nordthemeGH-248
  • Loading branch information
gbrlsnchs authored and crispgm committed Jun 10, 2021
1 parent 07fd325 commit cefa24e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions colors/nord.vim
Original file line number Diff line number Diff line change
Expand Up @@ -642,8 +642,8 @@ 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
" 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, "", "", "")
Expand Down

0 comments on commit cefa24e

Please sign in to comment.