From 71cd57464ca435959856d56358793685bd7526d7 Mon Sep 17 00:00:00 2001 From: Fausto Núñez Alberro Date: Tue, 26 Jan 2021 23:30:45 +0100 Subject: Support Neovim built-in LSP highlight groups --- templates/default.mustache | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'templates') 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 hi("TSProperty", s:gui0A, "", s:cterm0A, "", "", "") call hi("TSPunctBracket", s:gui0C, "", s:cterm0C, "", "", "") call hi("TSType", s:gui08, "", s:cterm08, "", "none", "") +" LSP highlighting +if has("nvim") + call hi("LspDiagnosticsDefaultError", s:gui08, "", s:cterm08, "", "", "") + call hi("LspDiagnosticsDefaultWarning", s:gui09, "", s:cterm09, "", "", "") + call hi("LspDiagnosticsDefaultInformation", s:gui05, "", s:cterm05, "", "", "") + call hi("LspDiagnosticsDefaultHint", s:gui03, "", s:cterm03, "", "", "") +endif + " Java highlighting call hi("javaOperator", s:gui0D, "", s:cterm0D, "", "", "") -- cgit v1.2.3