From 774ca72270c3044ee6bda00edb12b3dd14826912 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Sun, 7 Aug 2016 22:15:37 +0200 Subject: [PATCH] Include titlepage in TOC (#508) --- autoload/vimtex/toc.vim | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/autoload/vimtex/toc.vim b/autoload/vimtex/toc.vim index 54b8d4e..53a335f 100644 --- a/autoload/vimtex/toc.vim +++ b/autoload/vimtex/toc.vim @@ -82,6 +82,10 @@ function! vimtex#toc#init_script() " {{{1 \ 'title' : 'Alphabetical index', \ 're' : '\v^\s*\\printindex\[?', \ }, + \ 'titlepage' : { + \ 'title' : 'Titlepage', + \ 're' : '\v^\s*\\begin{titlepage}', + \ }, \ 'bib' : { \ 'title' : 'Bibliography', \ 're' : '\v^\s*\\%('