Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv31146
Modified Files:
Tag: b-newpackages
envmacros.vim
Log Message:
Using the Tex_pack_one function instead of the Tex_Put function.
Index: envmacros.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/envmacros.vim,v
retrieving revision 1.13
retrieving revision 1.13.2.1
diff -C2 -d -r1.13 -r1.13.2.1
*** envmacros.vim 22 Dec 2002 03:00:43 -0000 1.13
--- envmacros.vim 27 Dec 2002 20:41:42 -0000 1.13.2.1
***************
*** 3,7 ****
" Author: Mikolaj Machowski
" Created: Tue Apr 23 08:00 PM 2002 PST
! " Last Change: Thu Dec 19 03: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: Tue Dec 24 02:00 AM 2002 PST
"
" Description: mappings/menus for environments.
***************
*** 665,678 ****
let l = getline(".")
let pack = matchstr(l, '^\s*\zs.*')
! if pack == ''
! let pack = input('Package? ')
! if pack != ''
! return Tex_PutPackage(pack)
! endif
! return 0
! else
! normal 0D
! return Tex_PutPackage(pack)
! endif
endfunction " }}}
" Tex_ChangeEnvironments: calls Change() to change the environment {{{
--- 665,670 ----
let l = getline(".")
let pack = matchstr(l, '^\s*\zs.*')
! normal! 0"_D
! return Tex_pack_one(pack)
endfunction " }}}
" Tex_ChangeEnvironments: calls Change() to change the environment {{{
|