mirror of
https://github.com/vim-latex/vim-latex.git
synced 2026-05-31 11:18:38 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user