From b4f30085459b8aa77b488a9424ea5e60b763807c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karl=20Yngve=20Lerv=C3=A5g?= Date: Wed, 16 Oct 2013 10:51:42 +0200 Subject: [PATCH] Use normal! --- ftplugin/latextoc.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ftplugin/latextoc.vim b/ftplugin/latextoc.vim index 1642503..918c539 100644 --- a/ftplugin/latextoc.vim +++ b/ftplugin/latextoc.vim @@ -88,7 +88,7 @@ function! s:toc_activate(close) endwhile if search('\\' . entry['level'] . '\_\s*{' . titlestr . '}', 'ws') - normal zv + normal! zv endif if a:close