aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-nord.vim
diff options
context:
space:
mode:
authorFausto Núñez Alberro <fausto.nunez@mailbox.org>2021-01-26 23:30:45 +0100
committerFausto Núñez Alberro <fausto.nunez@mailbox.org>2021-01-26 23:37:23 +0100
commit71cd57464ca435959856d56358793685bd7526d7 (patch)
treed6690133a13edb130a1af2920d480ec6e49de0ef /colors/base16-nord.vim
parent67c41be7820ef94b45ec31290e8b875a1d7172bf (diff)
Support Neovim built-in LSP highlight groups
Diffstat (limited to 'colors/base16-nord.vim')
-rw-r--r--colors/base16-nord.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/colors/base16-nord.vim b/colors/base16-nord.vim
index 86e8a54..e6690e4 100644
--- a/colors/base16-nord.vim
+++ b/colors/base16-nord.vim
@@ -425,6 +425,14 @@ call <sid>hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "")
call <sid>hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "")
call <sid>hi("TSType", s:gui08, "", s:cterm08, "", "none", "")
+" LSP highlighting
+if has("nvim")
+ call <sid>hi("LspDiagnosticsDefaultError", s:gui08, "", s:cterm08, "", "", "")
+ call <sid>hi("LspDiagnosticsDefaultWarning", s:gui09, "", s:cterm09, "", "", "")
+ call <sid>hi("LspDiagnosticsDefaultInformation", s:gui05, "", s:cterm05, "", "", "")
+ call <sid>hi("LspDiagnosticsDefaultHint", s:gui03, "", s:cterm03, "", "", "")
+endif
+
" Java highlighting
call <sid>hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "")