Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv7011
Modified Files:
envmacros.vim
Log Message:
Bug: <S-F5> always says that we are not in an environment.
Cause: used double quotes instead of single quotes in a search pattern.
Solution: well, duh!
Index: envmacros.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** envmacros.vim 27 Dec 2002 23:01:24 -0000 1.14
--- envmacros.vim 30 Dec 2002 08:59:30 -0000 1.15
***************
*** 3,7 ****
" Author: Mikolaj Machowski
" Created: Tue Apr 23 08:00 PM 2002 PST
! " Last Change: Tue Dec 24 02:00 AM 2002 PST
"
" Description: mappings/menus for environments.
--- 3,7 ----
" Author: Mikolaj Machowski
" Created: Tue Apr 23 08:00 PM 2002 PST
! " Last Change: Mon Dec 30 12:00 AM 2002 PST
"
" Description: mappings/menus for environments.
***************
*** 677,681 ****
function! Tex_ChangeEnvironments()
! let env_line = searchpair("$$\|\\[\|begin{", '', "$$\|\\]\|end{", "bn")
if env_line != 0
--- 677,681 ----
function! Tex_ChangeEnvironments()
! let env_line = searchpair('$$\|\\[\|begin{', '', '$$\|\\]\|end{', "bn")
if env_line != 0
|