From 7780df5293b82110aa8a237d7188c7eb9bbb2dd0 Mon Sep 17 00:00:00 2001 From: atweiden Date: Mon, 13 Jul 2020 10:30:51 +1000 Subject: [PATCH] ensure Todo highlight on dark bg is at least 233 - note - existing s:dark_bg_2 handling is beneficial for hl-VertSplit - hence - this variable is kept in tact - previously - with g:seoul256_background set to 233 - todo syntax was rendered with visually jarring effect - as bg colors dropped to #000000 - now - use the equivalent to light bg handling for dark bg todos - for equivalently balanced visual effect - see: s:light_bg_2 --- colors/seoul256.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/seoul256.vim b/colors/seoul256.vim index 4a9b2b2..ff15e45 100644 --- a/colors/seoul256.vim +++ b/colors/seoul256.vim @@ -227,7 +227,7 @@ call s:hi('Conditional', [110, 31], ['', '']) " while end call s:hi('Repeat', [68, 67], ['', '']) -call s:hi('Todo', [161, 125], [s:dark_bg_2, s:light_bg_2]) +call s:hi('Todo', [161, 125], [max([s:dark_bg - 2, 233]), s:light_bg_2]) call s:hi('Function', [187, 58], ['', '']) " Macros