[Vim-latex-cvs] vimfiles/ftplugin/latex-suite texmenuconf.vim,1.5,1.6
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2002-11-11 08:55:55
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory usw-pr-cvs1:/tmp/cvs-serv14146a Modified Files: texmenuconf.vim Log Message: . patch by Peter Wilson: fixes a bug in texmenuconf.vim where s:mainmenuname wasn't used when it should have been . also remove a echomsg statement which crept in after the last debugging attempt. Index: texmenuconf.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/texmenuconf.vim,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** texmenuconf.vim 8 Nov 2002 03:02:13 -0000 1.5 --- texmenuconf.vim 11 Nov 2002 08:55:52 -0000 1.6 *************** *** 5,9 **** " " Installation: ! " Last Change: Thu Nov 07 06:00 PM 2002 PST " TODO: "============================================================================= --- 5,9 ---- " " Installation: ! " Last Change: Mon Nov 11 12:00 AM 2002 PST " TODO: "============================================================================= *************** *** 12,16 **** let s:path = expand("<sfile>:p:h") let s:up_path = expand("<sfile>:p:h:h") ! let s:mainmenuname = 'Te&X-Suite.' if g:Tex_NestPackagesMenu --- 12,16 ---- let s:path = expand("<sfile>:p:h") let s:up_path = expand("<sfile>:p:h:h") ! let s:mainmenuname = g:Tex_MenuPrefix.'Suite.' if g:Tex_NestPackagesMenu *************** *** 34,38 **** " if has('gui_running') && g:Tex_Menus ! anoremenu 80.25 Te&X-Suite.-sepsuite0- : " menus for compiling / viewing etc. --- 34,38 ---- " if has('gui_running') && g:Tex_Menus ! exec 'anoremenu 80.25 '. s:mainmenuname.'-sepsuite0- :' " menus for compiling / viewing etc. *************** *** 71,75 **** command! -nargs=0 Ttexrc :call Tex_texrc() function! Tex_texrc() - echomsg 's:path = '.s:path.', s:up_path = '.s:up_path if filereadable(s:up_path.'/tex/texrc') exec 'split '.s:up_path.'/tex/texrc' --- 71,74 ---- |