[Vim-latex-cvs] vimfiles/ftplugin/latex-suite templates.vim,1.9,1.10
Brought to you by:
srinathava,
tmaas
From: <sri...@us...> - 2003-01-17 06:42:59
|
Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite In directory sc8-pr-cvs1:/tmp/cvs-serv32303 Modified Files: templates.vim Log Message: - Use Tex_ChooseFromPrompt instead of Tex_ChooseFile - Use Tex_pack_updateall instead of Tex_pack_all Index: templates.vim =================================================================== RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates.vim,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** templates.vim 12 Jan 2003 22:02:40 -0000 1.9 --- templates.vim 17 Jan 2003 06:37:08 -0000 1.10 *************** *** 46,55 **** let pwd = getcwd() exe 'cd '.s:path.'/templates' ! let filename = Tex_ChooseFile('Choose a template file:') exe 'cd '.pwd endif let fname = glob(s:path."/templates/".filename) ! exe "0read ".fname " The first line of the file contains the specifications of what the " placeholder characters and the other special characters are. --- 46,59 ---- let pwd = getcwd() exe 'cd '.s:path.'/templates' ! let filename = ! \ Tex_ChooseFromPrompt("Choose a template file:\n" . ! \ Tex_CreatePrompt(glob('*'), 2, "\n") . ! \ "\nEnter number or name of file :", ! \ glob('*'), "\n") exe 'cd '.pwd endif let fname = glob(s:path."/templates/".filename) ! silent! exe "0read ".fname " The first line of the file contains the specifications of what the " placeholder characters and the other special characters are. *************** *** 66,70 **** 0 d _ ! call Tex_pack_all() endfunction --- 70,74 ---- 0 d _ ! call Tex_pack_updateall() endfunction |