Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13562
Modified Files:
compiler.vim
Log Message:
Bug: Viewing .dvi files with spaces in names doesn't work.
(Panagiotis Louridas)
Why: We don't enclose the file name in double-quotes.
Fix: Enclose file-name in double-quotes. As of now, only bother with spaces
in win32.
Index: compiler.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v
retrieving revision 1.59
retrieving revision 1.60
diff -C2 -d -r1.59 -r1.60
*** compiler.vim 1 Feb 2004 21:54:13 -0000 1.59
--- compiler.vim 3 Mar 2004 00:32:43 -0000 1.60
***************
*** 271,275 ****
" editor from the command line. that would have really helped ensure
" that this particular vim and yap are connected.
! let execString = '!start '.s:viewer.' '.mainfname.'.'.s:target
elseif has('macunix')
if strlen(s:viewer)
--- 271,275 ----
" editor from the command line. that would have really helped ensure
" that this particular vim and yap are connected.
! let execString = '!start '.s:viewer.' "'.mainfname.'.'.s:target.'"'
elseif has('macunix')
if strlen(s:viewer)
|