Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv10352
Modified Files:
packages.vim
Log Message:
- now functions, maps etc. in package files are sourced also for non-gui
Vims
- removed Version flag
Index: packages.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/packages.vim,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** packages.vim 23 Nov 2002 17:16:56 -0000 1.10
--- packages.vim 29 Nov 2002 22:02:58 -0000 1.11
***************
*** 2,8 ****
" File: packages.vim
" Author: Mikolaj Machowski
- " Version: 1.0
" Created: Tue Apr 23 06:00 PM 2002 PST
! " Last Change: sob lis 23 02:00 2002 C
"
" Description: handling packages from within vim
--- 2,7 ----
" File: packages.vim
" 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
***************
*** 31,36 ****
"
function! Tex_pack_check(package)
! if has("gui_running") && filereadable(s:path.'/packages/'.a:package)
! call Tex_pack(a:package)
let g:Tex_package_supported = g:Tex_package_supported.','.a:package
endif
--- 30,38 ----
"
function! Tex_pack_check(package)
! if filereadable(s:path.'/packages/'.a:package)
! exe 'source ' . s:path . '/packages/' . a:package
! if has("gui_running")
! call Tex_pack(a:package)
! endif
let g:Tex_package_supported = g:Tex_package_supported.','.a:package
endif
***************
*** 47,51 ****
" Tex_pack_uncheck: removes package from menu and 'dict' settings. {{{
function! Tex_pack_uncheck(package)
! if has("gui") && filereadable(s:path.'/packages/'.a:package)
exe 'aunmenu '.s:p_menu_lev.'&'.a:package
endif
--- 49,53 ----
" Tex_pack_uncheck: removes package from menu and 'dict' settings. {{{
function! Tex_pack_uncheck(package)
! if has("gui_running") && filereadable(s:path.'/packages/'.a:package)
exe 'aunmenu '.s:p_menu_lev.'&'.a:package
endif
***************
*** 199,203 ****
let g:p_file = s:path . '/packages/' . a:pack
if filereadable(g:p_file)
! exe 'source ' . g:p_file
exe 'let g:p_list = g:TeX_package_' . a:pack
exe 'let g:p_o_list = g:TeX_package_option_' . a:pack
--- 201,205 ----
let g:p_file = s:path . '/packages/' . a:pack
if filereadable(g:p_file)
! "exe 'source ' . g:p_file
exe 'let g:p_list = g:TeX_package_' . a:pack
exe 'let g:p_o_list = g:TeX_package_option_' . a:pack
|