Re: [Vim-latex-devel] Seting TeX flavor properly in Vim7
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2008-08-07 16:18:28
|
Evidently, adding: %&latex to the top of any .tex file will set the proper filetype. So if you don't want to force the tex_flavor, add that comment to the top of your LaTeX sources. --Ted Ted Pavlic wrote: > In the recent patches that were applied to Vim-LaTeX, was the line: > > let g:tex_flavor='latex' > > added somewhere? Without it, Vim7's filetype plugin fails to load > Vim-LaTeX. Something changed between Vim6 and Vim7 that made latex *not* > the default, which seems strange. > > -- Ted Pavlic <te...@te...> |