Skip to content

Commit 1789634

Browse files
atweidenatweiden
authored andcommitted
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 dark background contrast - 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
1 parent b21c9e6 commit 1789634

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎colors/seoul256.vim‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ call s:hi('Conditional', [110, 31], ['', ''])
227227

228228
" while end
229229
call s:hi('Repeat', [68, 67], ['', ''])
230-
call s:hi('Todo', [161, 125], [s:dark_bg_2, s:light_bg_2])
230+
call s:hi('Todo', [161, 125], [max([s:dark_bg - 2, 233]), s:light_bg_2])
231231
call s:hi('Function', [187, 58], ['', ''])
232232

233233
" Macros

0 commit comments

Comments
 (0)