Fixed event names
This commit is contained in:
parent
c8dd2c5d62
commit
736c341fa6
@ -32,7 +32,8 @@ endif
|
|||||||
" Dummy autocmds for vimtex events (prevents silly warnings)
|
" Dummy autocmds for vimtex events (prevents silly warnings)
|
||||||
augroup vimtex_init
|
augroup vimtex_init
|
||||||
autocmd!
|
autocmd!
|
||||||
autocmd User VimtexInitPost sleep 1ms
|
autocmd User VimtexEventInitPost sleep 1ms
|
||||||
|
autocmd User VimtexEventQuit sleep 1ms
|
||||||
augroup END
|
augroup END
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
@ -75,7 +76,7 @@ function! vimtex#init() " {{{1
|
|||||||
"
|
"
|
||||||
" Allow custom configuration through an event hook
|
" Allow custom configuration through an event hook
|
||||||
"
|
"
|
||||||
doautocmd User VimtexInitPost
|
doautocmd User VimtexEventInitPost
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
" }}}1
|
" }}}1
|
||||||
@ -623,7 +624,7 @@ function! s:buffer_deleted() " {{{1
|
|||||||
let b:vimtex_tmp = b:vimtex
|
let b:vimtex_tmp = b:vimtex
|
||||||
endif
|
endif
|
||||||
let b:vimtex = g:vimtex_data[s:vimtex_id]
|
let b:vimtex = g:vimtex_data[s:vimtex_id]
|
||||||
doautocmd User VimtexQuit
|
doautocmd User VimtexEventQuit
|
||||||
if exists('b:vimtex_tmp')
|
if exists('b:vimtex_tmp')
|
||||||
unlet b:vimtex_tmp
|
unlet b:vimtex_tmp
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user