molokai
molokai copied to clipboard
MatchParen highlighting makes it look like cursor jumped to matching parenthesis
Essentially https://github.com/lifepillar/vim-solarized8/issues/11
So use
hi MatchParen ctermfg=208 ctermbg=233 cterm=bold
" Original:
"hi MatchParen ctermfg=233 ctermbg=208 cterm=bold
Shouldn't the fix also alter line 63 ? From
hi MatchParen guifg=#000000 guibg=#FD971F gui=bold
to
hi MatchParen guifg=#FD971F guibg=#000000 gui=bold
I struggled with this one for a while. I think this is specifically a poor interaction with Cursor
styles that have guibg=fg guifg=bg
and/or ctermbg=fg ctermfg=bg
.
What seems to happen is that MatchParens
styles which give the character a background color have the bg and fg inverted by the Cursor, making it seem like the cursor isn't there.
Changing either MatchParen
to not set a background or Cursor
to not flip background and foreground seems to fix it.