diff options
author | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-01-26 23:30:45 +0100 |
---|---|---|
committer | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-01-26 23:37:23 +0100 |
commit | 71cd57464ca435959856d56358793685bd7526d7 (patch) | |
tree | d6690133a13edb130a1af2920d480ec6e49de0ef /templates/default.mustache | |
parent | 67c41be7820ef94b45ec31290e8b875a1d7172bf (diff) |
Support Neovim built-in LSP highlight groups
Diffstat (limited to 'templates/default.mustache')
-rw-r--r-- | templates/default.mustache | 8 |
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, "", "", "") |