mirror of
https://github.com/chenasraf/vim-matchup.git
synced 2026-05-18 01:38:57 +00:00
Listen to TextChanged{,I,P} for matchparen
This commit is contained in:
@@ -29,7 +29,10 @@ function! matchup#matchparen#enable() " {{{1
|
||||
autocmd!
|
||||
autocmd CursorMoved,CursorMovedI * call s:matchparen.highlight_deferred()
|
||||
autocmd WinEnter * call s:matchparen.highlight(1)
|
||||
" autocmd TextChanged,TextChangedI * call s:matchparen.highlight()
|
||||
autocmd TextChanged,TextChangedI * call s:matchparen.highlight_deferred()
|
||||
if has('patch-8.0.1494')
|
||||
autocmd TextChangedP * call s:matchparen.highlight_deferred()
|
||||
endif
|
||||
autocmd WinLeave * call s:matchparen.clear()
|
||||
" autocmd BufLeave * call s:matchparen.clear()
|
||||
" autocmd InsertEnter,InsertLeave * call s:matchparen.highlight()
|
||||
|
||||
Reference in New Issue
Block a user