Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1:/tmp/cvs-serv3508
Modified Files:
templates.vim
Log Message:
Bug: Reading in template didn't work.
Why: Name of file given to function is now full (with extension)
but in function is created with filename = a:1.'.*'
Solution: Don't add anything to name passed to file
let filename = a:1
Index: templates.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/templates.vim,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** templates.vim 7 Nov 2003 02:11:50 -0000 1.14
--- templates.vim 16 Nov 2003 15:12:31 -0000 1.15
***************
*** 39,43 ****
function! <SID>ReadTemplate(...)
if a:0 > 0
! let filename = a:1.'.*'
else
let filelist = Tex_FindInRtp('', 'templates')
--- 39,43 ----
function! <SID>ReadTemplate(...)
if a:0 > 0
! let filename = a:1
else
let filelist = Tex_FindInRtp('', 'templates')
|