Use g:vimtex_index_split_width correctly (fixes #140)

This commit is contained in:
Karl Yngve Lervåg 2015-03-31 15:44:36 +02:00
parent f77df6eb6a
commit 8fac072469

View File

@ -54,7 +54,9 @@ function! vimtex#index#create(index) " {{{1
if g:vimtex_index_resize
silent exe 'set columns +=' . g:vimtex_index_split_width
endif
silent execute g:vimtex_index_split_pos 'new' escape(a:index.name, ' ')
silent execute
\ g:vimtex_index_split_pos g:vimtex_index_split_width
\ 'new' escape(a:index.name, ' ')
let b:index = a:index
setlocal bufhidden=wipe