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 exists('w:paren_hl_on') && w:paren_hl_on
                3match none
                let w:paren_hl_on = 0
        endif
endfunction
au WinLeave * call RmMH()

m.


Reply via email to