aboutsummaryrefslogtreecommitdiff
path: root/colors/base16-hopscotch.vim
diff options
context:
space:
mode:
authorBonaBeavis <gordian.dziwis@gmail.com>2021-11-08 15:56:19 +0100
committerBonaBeavis <gordian.dziwis@gmail.com>2021-11-08 15:56:19 +0100
commit57b2f33e08e30bd2ba0b1935e0711d814ce44fa8 (patch)
tree8bd3c47870d6c0ac14b4337c8b7570a5b755a7ee /colors/base16-hopscotch.vim
parent09138baf7a9cf3d4435bb6482acb74fdb4847bdb (diff)
Support Neovim 0.6 Diagnostic highlight groups
Diffstat (limited to 'colors/base16-hopscotch.vim')
-rw-r--r--colors/base16-hopscotch.vim21
1 files changed, 21 insertions, 0 deletions
diff --git a/colors/base16-hopscotch.vim b/colors/base16-hopscotch.vim
index f272b8d..9ac90ed 100644
--- a/colors/base16-hopscotch.vim
+++ b/colors/base16-hopscotch.vim
@@ -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