aboutsummaryrefslogtreecommitdiff
path: root/templates/default.mustache
diff options
context:
space:
mode:
Diffstat (limited to 'templates/default.mustache')
-rw-r--r--templates/default.mustache21
1 files changed, 21 insertions, 0 deletions
diff --git a/templates/default.mustache b/templates/default.mustache
index 89328fc..a1effb3 100644
--- a/templates/default.mustache
+++ b/templates/default.mustache
@@ -531,6 +531,27 @@ endif
" LSP highlighting
if has("nvim")
+ hi! link DiagnosticError ErrorSign
+ hi! link DiagnosticWarn WarningSign
+ hi! link DiagnosticInfo InfoSign
+ hi! link DiagnosticHint HintSign
+
+ hi! link DiagnosticFloatingError ErrorFloat
+ hi! link DiagnosticFloatingWarn WarningFloat
+ hi! link DiagnosticFloatingInfo InfoFloat
+ hi! link DiagnosticFloatingHint HintFloat
+
+ hi! link DiagnosticUnderlineError ErrorHighlight
+ hi! link DiagnosticUnderlineWarn WarningHighlight
+ hi! link DiagnosticUnderlineInfo InfoHighlight
+ hi! link DiagnosticUnderlineHint HintHighlight
+
+ hi! link DiagnosticsVirtualTextError ErrorSign
+ hi! link DiagnosticsVirtualTextWarning WarningSign
+ hi! link DiagnosticsVirtualTextInfo InfoSign
+ hi! link DiagnosticsVirtualTextHint HintSign
+
+ " Remove untill endif on next nvim release
hi! link LspDiagnosticsSignError ErrorSign
hi! link LspDiagnosticsSignWarning WarningSign
hi! link LspDiagnosticsSignInfo InfoSign