From 30c1920e4fa4e612238e1f435907c40ecfa47f33 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sat, 2 Nov 2013 23:27:57 +0100 Subject: Massive update :) --- ftplugin/latex-box/motion.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ftplugin/latex-box/motion.vim') diff --git a/ftplugin/latex-box/motion.vim b/ftplugin/latex-box/motion.vim index 72481753..04275aca 100644 --- a/ftplugin/latex-box/motion.vim +++ b/ftplugin/latex-box/motion.vim @@ -437,7 +437,7 @@ endfunction function! s:FindClosestSection(toc, fileindices) let file = expand('%:p') if !has_key(a:fileindices, file) - echoe 'Current file is not included in main tex file ' . LatexBox_GetMainTexFile() . '.' + return 0 endif let imax = len(a:fileindices[file]) -- cgit v1.2.3