aboutsummaryrefslogtreecommitdiff
path: root/templates/default.mustache
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 /templates/default.mustache
parent67c41be7820ef94b45ec31290e8b875a1d7172bf (diff)
Support Neovim built-in LSP highlight groups
Diffstat (limited to 'templates/default.mustache')
-rw-r--r--templates/default.mustache8
1 files changed, 8 insertions, 0 deletions
diff --git a/templates/default.mustache b/templates/default.mustache
index e22ca9e..be5c60a 100644
--- a/templates/default.mustache
+++ b/templates/default.mustache
@@ -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, "", "", "")