From 72e91d978b0138b3d78c527d7db48f0b4a6105d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 16 Nov 2016 23:18:18 +0100 Subject: [PATCH] Add test file for #623 --- test/issues/623/vimrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 test/issues/623/vimrc diff --git a/test/issues/623/vimrc b/test/issues/623/vimrc new file mode 100644 index 0000000..c1e254a --- /dev/null +++ b/test/issues/623/vimrc @@ -0,0 +1,25 @@ +set nocompatible +let &rtp = '~/.vim/bundle/FastFold,' . &rtp +let &rtp = '~/.vim/bundle/vimtex,' . &rtp +let &rtp .= ',~/.vim/bundle/vimtex/after' +filetype plugin indent on +syntax enable + +let g:vimtex_fold_enabled = 1 +" let g:vimtex_fold_commands_default = {} + " \ 'tikzset' : 'single', + " \} + +" Here we need to edit a large tex file, e.g. a thesis or long paper +edit main.tex + +function! Test() + profile start profile.log + profile func *level + FastFoldUpdate! + profile pause + noautocmd qall! +endfunction + +nnoremap s :call Test()jk:w +