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.
This commit is contained in:
Srinath Avadhanula
2004-06-19 00:15:59 +00:00
parent e320c8f244
commit ec7b189ef3
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -192,7 +192,7 @@ function! <SID>ReadMacro(...)
\ filelist, ',')
endif
let fname = Tex_FindInRtp(filename, 'macros')
let fname = Tex_FindInRtp(filename, 'macros', ':p')
let markerString = '<---- Latex Suite End Macro ---->'
let _a = @a
+1 -1
View File
@@ -605,7 +605,7 @@ endfunction " }}}
" "stabilize" that version by releasing a few pre-releases and then
" keep that as a stable point.
function! Tex_Version()
return "Latex-Suite: version 1.6.06"
return "Latex-Suite: version 1.6.07"
endfunction
com! -nargs=0 TVersion echo Tex_Version()