diff --git a/autoload/vimtex.vim b/autoload/vimtex.vim index c0a9da2..dcc4c70 100644 --- a/autoload/vimtex.vim +++ b/autoload/vimtex.vim @@ -143,7 +143,7 @@ function! s:init_buffer() " {{{1 if id >= 0 " Link to existing blob let b:vimtex_id = id - let b:vimtex = g:vimtex_data.id + let b:vimtex = g:vimtex_data[id] else " Create new blob let b:vimtex = {}