Revision: 1112
http://vim-latex.svn.sourceforge.net/vim-latex/?rev=1112&view=rev
Author: tmaas
Date: 2010-10-27 21:27:11 +0000 (Wed, 27 Oct 2010)
Log Message:
-----------
fix lcd invocation with fnameescape
Changeset 1061 broke two lcd invocations with adding fnameescape, e.g. for F9
completion.
Modified Paths:
--------------
trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
Modified: trunk/vimfiles/ftplugin/latex-suite/texviewer.vim
===================================================================
--- trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2010-10-07 20:34:41 UTC (rev 1111)
+++ trunk/vimfiles/ftplugin/latex-suite/texviewer.vim 2010-10-27 21:27:11 UTC (rev 1112)
@@ -610,7 +610,7 @@
let foundCiteFile = 1
split
- lcd fnameescape(expand('%:p:h'))
+ exec 'lcd'.fnameescape(expand('%:p:h'))
call Tex_Debug("silent! grepadd! ".Tex_EscapeForGrep('\\bibitem{'.a:prefix)." %", 'view')
call Tex_Grepadd('\\bibitem\s*[\[|{]'.a:prefix, "%")
q
@@ -653,7 +653,7 @@
function! Tex_ScanFileForLabels(prefix)
call Tex_Debug("+Tex_ScanFileForLabels: grepping in file [".bufname('%')."]", "view")
- lcd fnameescape(expand('%:p:h'))
+ exec 'lcd'.fnameescape(expand('%:p:h'))
call Tex_Grepadd('\\label{'.a:prefix, "%")
" Then recursively grep for all \include'd or \input'ed files.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|