Update of /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12416
Modified Files:
main.vim custommacros.vim
Log Message:
Bug: Entering a template via the :TMacro command doesn't work.
Why: We use Tex_FindInRtp(fname, 'macro') which returns only the last part
of the full path name.
Fix: Use Tex_FindInRtp(fname, 'macro', ':p') instead.
Index: main.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/main.vim,v
retrieving revision 1.71
retrieving revision 1.72
diff -C2 -d -r1.71 -r1.72
*** main.vim 18 Jun 2004 23:59:48 -0000 1.71
--- main.vim 19 Jun 2004 00:15:59 -0000 1.72
***************
*** 606,610 ****
" keep that as a stable point.
function! Tex_Version()
! return "Latex-Suite: version 1.6.06"
endfunction
--- 606,610 ----
" keep that as a stable point.
function! Tex_Version()
! return "Latex-Suite: version 1.6.07"
endfunction
Index: custommacros.vim
===================================================================
RCS file: /cvsroot/vim-latex/vimfiles/ftplugin/latex-suite/custommacros.vim,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** custommacros.vim 15 Dec 2003 03:33:52 -0000 1.20
--- custommacros.vim 19 Jun 2004 00:15:59 -0000 1.21
***************
*** 193,197 ****
endif
! let fname = Tex_FindInRtp(filename, 'macros')
let markerString = '<---- Latex Suite End Macro ---->'
--- 193,197 ----
endif
! let fname = Tex_FindInRtp(filename, 'macros', ':p')
let markerString = '<---- Latex Suite End Macro ---->'
|