From d5e62ca6467a744c86b1a15091e31284e3483eff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Mon, 11 Apr 2016 20:56:03 +0200 Subject: [PATCH] Fix minor bug --- ftplugin/bib.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/bib.vim b/ftplugin/bib.vim index f6da1b2..2bca140 100644 --- a/ftplugin/bib.vim +++ b/ftplugin/bib.vim @@ -20,7 +20,7 @@ function! s:map(mode, lhs, rhs, ...) endif endfunction -if g:vimtex_toc_enabled +if get(g:, 'vimtex_toc_enabled', 1) command! -buffer VimtexTocOpen call vimtex#toc#open() command! -buffer VimtexTocToggle call vimtex#toc#toggle() nnoremap (vimtex-toc-open) :call vimtex#toc#open()