diff options
author | Fausto Núñez Alberro <fausto.nunez@mailbox.org> | 2021-01-26 23:38:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-26 23:38:49 +0100 |
commit | de37e213c844cd6b3fe9d3d24b1b767cc0e8731e (patch) | |
tree | d6690133a13edb130a1af2920d480ec6e49de0ef /templates/default.mustache | |
parent | 67c41be7820ef94b45ec31290e8b875a1d7172bf (diff) | |
parent | 71cd57464ca435959856d56358793685bd7526d7 (diff) |
Merge pull request #11 from fnune/lsp-diagnostics-styling
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, "", "", "") |