[Vim-latex-cvs] vimfiles/ftplugin/latex-suite custommacros.vim,1.13,1.14
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-07-19 07:05:50
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv5915 Modified Files: custommacros.vim Log Message: - the new macro menu did not work because we did not use <SID> Index: custommacros.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/custommacros.vim,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** custommacros.vim 17 Jan 2003 06:37:58 -0000 1.13 --- custommacros.vim 19 Jul 2003 07:05:47 -0000 1.14 *************** *** 14,19 **** function! <SID>SetCustomMacrosMenu() let flist = glob(s:path."/macros/*") ! exe 'amenu '.g:Tex_MacrosMenuLocation.'&New :call NewMacro()<CR>' ! exe 'amenu '.g:Tex_MacrosMenuLocation.'&Redraw :call RedrawMacro()<CR>' let i = 1 --- 14,19 ---- function! <SID>SetCustomMacrosMenu() let flist = glob(s:path."/macros/*") ! exe 'amenu '.g:Tex_MacrosMenuLocation.'&New :call <SID>NewMacro()<CR>' ! exe 'amenu '.g:Tex_MacrosMenuLocation.'&Redraw :call <SID>RedrawMacro()<CR>' let i = 1 *************** *** 46,50 **** " }}} " RedrawMacro: refreshes macro menu {{{ ! function! RedrawMacro() aunmenu TeX-Suite.Macros call <SID>SetCustomMacrosMenu() --- 46,50 ---- " }}} " RedrawMacro: refreshes macro menu {{{ ! function! <SID>RedrawMacro() aunmenu TeX-Suite.Macros call <SID>SetCustomMacrosMenu() *************** *** 80,84 **** call delete(s:path.'/macros/'.filename) endif ! call RedrawMacro() endfunction --- 80,84 ---- call delete(s:path.'/macros/'.filename) endif ! call s:RedrawMacro() endfunction |