[Vim-latex-devel] [PATCH] Fix sourcing of the .latexmain file
Brought to you by:
srinathava,
tmaas
From: Björn S. <B.S...@gm...> - 2009-12-16 01:59:48
|
There was a misplaced concatenation operator that broke the code. Should be in front of the function call, not inside the parentheses. --- vimfiles/ftplugin/latex-suite/texproject.vim | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/vimfiles/ftplugin/latex-suite/texproject.vim b/vimfiles/ftplugin/latex-suite/texproject.vim index 3d9e9b9..5bc14a0 100644 --- a/vimfiles/ftplugin/latex-suite/texproject.vim +++ b/vimfiles/ftplugin/latex-suite/texproject.vim @@ -39,7 +39,7 @@ function! Tex_ProjectLoad() if glob(Tex_GetMainFileName(':p').'.latexmain') != '' call Tex_Debug("Tex_ProjectLoad: sourcing [".Tex_GetMainFileName().".latexmain]", "proj") - exec 'source 'fnameescape(.Tex_GetMainFileName().'.latexmain') + exec 'source '.fnameescape(Tex_GetMainFileName().'.latexmain') endif exe 'cd '.s:origdir -- 1.6.6.rc2.6.g20b8b |