Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv918
Modified Files:
packages.vim
Log Message:
Changes necessary for proper working of
Tex_pack_one: now calling :TPackage returns
line \usepackage{choice}.
Index: packages.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages.vim,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -d -r1.12 -r1.13
*** packages.vim 30 Nov 2002 14:56:43 -0000 1.12
--- packages.vim 6 Dec 2002 23:55:42 -0000 1.13
***************
*** 3,7 ****
" Author: Mikolaj Machowski
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: sob lis 30 03:00 2002 C
"
" Description: handling packages from within vim
--- 3,7 ----
" Author: Mikolaj Machowski
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: sob gru 07 12:00 2002 C
"
" Description: handling packages from within vim
***************
*** 21,25 ****
com! -nargs=* TPackage call Tex_pack_one(<f-args>)
! com! -nargs=0 TPackageUpdate :silent! call Tex_pack_one(expand("<cword>"))
com! -nargs=0 TPackageUpdateAll :silent! call Tex_pack_updateall()
--- 21,25 ----
com! -nargs=* TPackage call Tex_pack_one(<f-args>)
! com! -nargs=0 TPackageUpdate :silent! call Tex_pack_updateall()
com! -nargs=0 TPackageUpdateAll :silent! call Tex_pack_updateall()
***************
*** 84,89 ****
let pwd = getcwd()
exe 'cd '.s:path.'/packages'
! let filename = Tex_ChooseFile('Choose a package: ')
exe 'cd '.pwd
else
let i = a:0
--- 84,90 ----
let pwd = getcwd()
exe 'cd '.s:path.'/packages'
! let packname = Tex_ChooseFile('Choose a package: ')
exe 'cd '.pwd
+ call Tex_pack_check(packname)
else
let i = a:0
***************
*** 95,98 ****
--- 96,100 ----
endwhile
endif
+ return Tex_pack_supp(packname)
endfunction
" }}}
|