From d13fda6792b9c2c4cfea6422db00820e6732c6e6 Mon Sep 17 00:00:00 2001 From: BonaBeavis Date: Thu, 25 Mar 2021 14:17:11 +0100 Subject: add support for LspDiagnostics --- colors/base16-atelier-cave-light.vim | 31 +++++++++++++++++++++++++++---- 1 file changed, 27 insertions(+), 4 deletions(-) (limited to 'colors/base16-atelier-cave-light.vim') diff --git a/colors/base16-atelier-cave-light.vim b/colors/base16-atelier-cave-light.vim index 0d7bd3d..bd89992 100644 --- a/colors/base16-atelier-cave-light.vim +++ b/colors/base16-atelier-cave-light.vim @@ -295,6 +295,10 @@ call hi("SpellLocal", "", "", s:cterm00, s:cterm0C, "undercurl", s:gui0C) call hi("SpellCap", "", "", s:cterm00, s:cterm0D, "undercurl", s:gui0D) call hi("SpellRare", "", "", s:cterm00, s:cterm0E, "undercurl", s:gui0E) +call hi("ReferenceText", s:gui01, s:gui0A, s:cterm01, s:cterm0A, "", "") +call hi("ReferenceRead", s:gui01, s:gui0B, s:cterm01, s:cterm0B, "", "") +call hi("ReferenceWrite", s:gui01, s:gui08, s:cterm01, s:cterm08, "", "") + " C highlighting call hi("cOperator", s:gui0C, "", s:cterm0C, "", "", "") call hi("cPreCondit", s:gui0E, "", s:cterm0E, "", "", "") @@ -484,10 +488,29 @@ endif " 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, "", "", "") + hi default link LspDiagnosticsSignError ErrorSign + hi default link LspDiagnosticsSignWarning WarningSign + hi default link LspDiagnosticsSignInfo InfoSign + hi default link LspDiagnosticsSignHint HintSign + + hi default link LspDiagnosticsVirtualTextError ErrorSign + hi default link LspDiagnosticsVirtualTextWarning WarningSign + hi default link LspDiagnosticsVirtualTextInfo InfoSign + hi default link LspDiagnosticsVirtualTextHint HintSign + + hi default link LspDiagnosticsFloatingError ErrorFloat + hi default link LspDiagnosticsFloatingWarning WarningFloat + hi default link LspDiagnosticsFloatingInfo InfoFloat + hi default link LspDiagnosticsFloatingHint HintFloat + + hi default link LspDiagnosticsUnderlineError ErrorHighlight + hi default link LspDiagnosticsUnderlineWarning WarningHighlight + hi default link LspDiagnosticsUnderlineInfo InfoHighlight + hi default link LspDiagnosticsUnderlineHint HintHighlight + + hi default link LsoReferenceText ReferenceText + hi default link LsoReferenceRead ReferenceRead + hi default link LsoReferenceWrite ReferenceWrite endif " Java highlighting -- cgit v1.2.3