Fixed #593: Autocmd conflicts
This commit is contained in:
parent
ab9087a8a1
commit
5446d04d2e
@ -49,10 +49,10 @@ function! vimtex#motion#init_buffer() " {{{1
|
|||||||
|
|
||||||
" Highlight matching delimiters ($, (), ...)
|
" Highlight matching delimiters ($, (), ...)
|
||||||
if g:vimtex_motion_matchparen
|
if g:vimtex_motion_matchparen
|
||||||
augroup vimtex_motion
|
execute 'augroup vimtex_motion' . bufnr('%')
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd! CursorMoved <buffer> call s:highlight_matching_pair()
|
autocmd CursorMoved <buffer> call s:highlight_matching_pair()
|
||||||
autocmd! CursorMovedI <buffer> call s:highlight_matching_pair()
|
autocmd CursorMovedI <buffer> call s:highlight_matching_pair()
|
||||||
augroup END
|
augroup END
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user