Fix #568: Regression bug with latexmk viewer hooks

This commit is contained in:
Karl Yngve Lervåg 2016-09-26 18:13:24 +02:00
parent 822d304f47
commit e002e8cf78

View File

@ -37,7 +37,7 @@ function! vimtex#view#init_buffer() " {{{1
" Add latexmk callback to callback hooks (if it exists)
"
if exists('*l:v.latexmk_callback')
call add(g:vimtex_latexmk_callback_hooks, 'l:v.latexmk_callback')
call add(g:vimtex_latexmk_callback_hooks, 'b:vimtex.viewer.latexmk_callback')
endif
"