[Vim-latex-cvs] vimfiles/ftplugin/latex-suite envmacros.vim,1.36,1.36.2.1
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-11-13 08:31:41
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv25212 Modified Files: Tag: release-1-5 envmacros.vim Log Message: - merged bug-fix from main branch between 1.38 and 1.39 Index: envmacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v retrieving revision 1.36 retrieving revision 1.36.2.1 diff -C2 -d -r1.36 -r1.36.2.1 *** envmacros.vim 13 Sep 2003 07:06:41 -0000 1.36 --- envmacros.vim 13 Nov 2003 08:31:36 -0000 1.36.2.1 *************** *** 526,530 **** if a:0 < 1 let env = matchstr(getline('.'), '^\s*\zs\w*\*\=\ze\s*$') ! if env == '' let env = PromptForEnvironment('Choose which environment to insert: ') if env != '' --- 526,532 ---- if a:0 < 1 let env = matchstr(getline('.'), '^\s*\zs\w*\*\=\ze\s*$') ! " If in current line is more than one word or in visual mode ! " ignore contents of line and prompt for environment ! if env == '' || (exists('s:isvisual') && s:isvisual == 'yes') let env = PromptForEnvironment('Choose which environment to insert: ') if env != '' |