On windows vim is installed to "C:\Program Files\Vim\" which has spaces in it. This causes F9 \ref completion to fail. The attached patch is against the SVN trunk of texviewer.vim and fixes the issue. There may be other places where this is an issue, if I come across them I will fix them and submit patches.

Tom
--- texviewer.vim       2009-03-11 14:23:56.830869200 +0000
+++ texviewer_new.vim   2009-03-11 14:26:42.974948000 +0000
@@ -766,7 +766,7 @@ function! Tex_StartOutlineCompletion()
 
                0put!=retval
        else
-               exec '0r!'.s:path.'/outline.py '.mainfname.' '.s:prefix
+               exec '0r!'.shellescape(s:path.'/outline.py').' '.mainfname.' 
'.s:prefix
        endif
 
        0
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to