Update MatchParen in light themes.

Problem: MatchParen highlighting in light themes inverts colors of
bracket, makes it look like cursor has jumped to matching bracket.

Solution: keep the parenthesis's foreground color when highlighted, and
make the background slightly darker instead of grey.

Fixes https://github.com/lifepillar/vim-solarized8/issues/11.
This commit is contained in:
Lifepillar
2017-04-09 19:01:07 +02:00
parent 0558a39197
commit dc6c1dfa6f
5 changed files with 5 additions and 5 deletions

View File

@@ -500,7 +500,7 @@ for s:solarized_background in ["dark", "light"]
if s:solarized_background == 'dark'
call s:put("hi! MatchParen" .s:fmt_bold .s:fg_base3 .s:bg_base02)
else
call s:put("hi! MatchParen" .s:fmt_bold .s:fg_base03 .s:bg_base00)
call s:put("hi! MatchParen" .s:fmt_bold .s:fg_none .s:bg_base02)
endif
"}}}
" vim syntax highlighting "{{{