[Vim-latex-cvs] vimfiles/ftplugin/latex-suite envmacros.vim,1.21,1.22
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-01-11 20:42:05
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv9165 Modified Files: envmacros.vim Log Message: bug - s:visual was not unset after the call to Tex_PutEnvironment. This cased successive menu items to all regard s:isvisual = 'yes', causing stuff to break. Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** envmacros.vim 11 Jan 2003 20:09:40 -0000 1.21 --- envmacros.vim 11 Jan 2003 20:42:02 -0000 1.22 *************** *** 569,572 **** --- 569,573 ---- function! Tex_PutEnvironment(env) if exists("s:isvisual") && s:isvisual == "yes" + let s:isvisual = 'no' if a:env == '\[' return VEnclose('', '', '\[', '\]') |