Skip to content

Commit

Permalink
ensure Todo highlight on dark bg is at least 233
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
atweiden committed Jul 18, 2020
1 parent 24ed467 commit 56b2966
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colors/seoul256.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 56b2966

Please sign in to comment.