Ilya Bobir wrote:
I've found bug in highlighting when matchparen is used. Not sure it is
because of a matchparen thought.
Test case
=
gvim
i{}EschO
Now I can see first line with one character background been highlighted
and an insert cursor over it and '{}' on a second
Hello.
I've found bug in highlighting when matchparen is used. Not sure it is
because of a matchparen thought.
Test case
=
gvim
i{}EschO
Now I can see first line with one character background been highlighted
and an insert cursor over it and '{}' on a second line, both highlighted.
Hello,
Create empty file, enter {}, :new, cursor is in new window but parens
are still highlighted.
This example isn't extreme but when returning to previous window in many
colorschemes it makes hard to notice where cursor is.
This chunk fixes that:
function RmMH()
if
Mikolaj Machowski wrote:
Create empty file, enter {}, :new, cursor is in new window but parens
are still highlighted.
Every window has a cursor position, even though only one is really
active. Thus the highlighting isn't wrong.
This example isn't extreme but when returning to previous
Ilya wrote:
gvim –u NONE –U NONE
Create file with 100 empty lines, line with {, 20 empty lines and line
with }:
:exe normal i{\CR}\Esc20O\Escj%100O\Escj%
Turn on matchparen plugin:
:set nocp
:source $VIMRUNTIME/plugin/matchparen.vim
Now cursor should be on the }, this line is