diff --git a/autoload/vimtex/toc.vim b/autoload/vimtex/toc.vim index c58df53..0cf3eaa 100644 --- a/autoload/vimtex/toc.vim +++ b/autoload/vimtex/toc.vim @@ -84,6 +84,11 @@ function! vimtex#toc#init_script() " {{{1 \ . '|bibliography\s*\{)', \ }, \ } + + let s:nocomment = '\v%(%(\\@