[Vim-latex-cvs] vimfiles/ftplugin/latex-suite envmacros.vim,1.20,1.21
Brought to you by:
srinathava,
tmaas
From: <mi...@us...> - 2003-01-11 20:09:43
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv21015 Modified Files: envmacros.vim Log Message: Fixed problem with undefined s:isvisual in Tex_PutEnvironment by testing with exists() Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** envmacros.vim 10 Jan 2003 05:33:42 -0000 1.20 --- envmacros.vim 11 Jan 2003 20:09:40 -0000 1.21 *************** *** 568,572 **** " Based on input argument, it calls various specialized functions. function! Tex_PutEnvironment(env) ! if s:isvisual == "yes" if a:env == '\[' return VEnclose('', '', '\[', '\]') --- 568,572 ---- " Based on input argument, it calls various specialized functions. function! Tex_PutEnvironment(env) ! if exists("s:isvisual") && s:isvisual == "yes" if a:env == '\[' return VEnclose('', '', '\[', '\]') |