Fix minor bug
This commit is contained in:
parent
eb48452c79
commit
d5e62ca646
@ -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 <buffer> <plug>(vimtex-toc-open) :call vimtex#toc#open()<cr>
|
||||
|
Loading…
Reference in New Issue
Block a user