[Vim-latex-cvs] vimfiles/ftplugin/latex-suite packages.vim,1.11,1.12
Brought to you by:
srinathava,
tmaas
From: <mi...@us...> - 2002-11-30 14:56:46
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv8641 Modified Files: packages.vim Log Message: bug fix release: something wrong is with inserting packages from line (O in []) Index: packages.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages.vim,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** packages.vim 29 Nov 2002 22:02:58 -0000 1.11 --- packages.vim 30 Nov 2002 14:56:43 -0000 1.12 *************** *** 3,7 **** " Author: Mikolaj Machowski " Created: Tue Apr 23 06:00 PM 2002 PST ! " Last Change: pi± lis 29 09: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 lis 30 03:00 2002 C " " Description: handling packages from within vim *************** *** 50,54 **** function! Tex_pack_uncheck(package) if has("gui_running") && filereadable(s:path.'/packages/'.a:package) ! exe 'aunmenu '.s:p_menu_lev.'&'.a:package endif if filereadable(s:path.'/dictionaries/'.a:package) --- 50,54 ---- function! Tex_pack_uncheck(package) if has("gui_running") && filereadable(s:path.'/packages/'.a:package) ! exe 'silent! aunmenu '.s:p_menu_lev.'&'.a:package endif if filereadable(s:path.'/dictionaries/'.a:package) *************** *** 347,351 **** " Tex_pack_supp: "supports" the package... {{{ function! Tex_pack_supp(supp_pack) ! call Tex_pack(a:supp_pack) exe 'let g:s_p_o = g:TeX_package_option_'.a:supp_pack if exists('g:s_p_o') && g:s_p_o != '' --- 347,351 ---- " Tex_pack_supp: "supports" the package... {{{ function! Tex_pack_supp(supp_pack) ! call Tex_pack_check(a:supp_pack) exe 'let g:s_p_o = g:TeX_package_option_'.a:supp_pack if exists('g:s_p_o') && g:s_p_o != '' *************** *** 368,375 **** if filereadable(s:path.'/packages/'.a:package) call Tex_pack_supp(a:package) - call Tex_pack_updateall() else exe 'normal i\usepackage{'.a:package."}\<Esc>$" endif endfunction " }}} --- 368,375 ---- if filereadable(s:path.'/packages/'.a:package) call Tex_pack_supp(a:package) else exe 'normal i\usepackage{'.a:package."}\<Esc>$" endif + call Tex_pack_updateall() endfunction " }}} |