[Vim-latex-devel] Tex_UseMakefile, broken logic
Brought to you by:
srinathava,
tmaas
From: Alan S. <ala...@po...> - 2003-09-07 13:12:15
|
In compiler.vim, the current logic: if !g:Tex_UseMakefile || glob('makefile') != '' || glob('Makefile') != '' is broken: the code is run as long as there is a Makefile. The correct code should be: if g:Tex_UseMakefile && (glob('makefile') != '' || glob('Makefile') != '') which is run only if "UseMakefile" is 1. I also added a comment to the variable definition. Attached is a patch. Alan Schmitt -- The hacker: someone who figured things out and made something cool happen. |