[Vim-latex-cvs] vimfiles/ftplugin/latex-suite compiler.vim,1.5,1.6
Brought to you by:
srinathava,
tmaas
From: <ma...@us...> - 2002-11-08 18:00:51
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv6686 Modified Files: compiler.vim Log Message: Use the g:Tex_EscapeChars variable (defined in texrc) to decide whether to escape \{} in 'makeprg'. Default: for win32, do not escape these characters; otherwise, do escape them. I believe the resulting value for 'makeprg' is very robust. Index: compiler.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/compiler.vim,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** compiler.vim 4 Nov 2002 16:32:37 -0000 1.5 --- compiler.vim 8 Nov 2002 18:00:48 -0000 1.6 *************** *** 21,26 **** if exists('g:Tex_'.a:type.'Rule_'.target) if a:type == 'Compile' ! let &l:makeprg = escape(g:Tex_CompileRule_{target}, '{}\') ! " exec 'let &l:makeprg = g:Tex_CompileRule_'.target elseif a:type == 'View' exec 'let s:viewer = g:Tex_'.a:type.'Rule_'.target --- 21,25 ---- if exists('g:Tex_'.a:type.'Rule_'.target) if a:type == 'Compile' ! let &l:makeprg = escape(g:Tex_CompileRule_{target}, g:Tex_EscapeChars) elseif a:type == 'View' exec 'let s:viewer = g:Tex_'.a:type.'Rule_'.target |