Re: [Vim-latex-devel] Seting TeX flavor properly in Vim7
Brought to you by:
srinathava,
tmaas
From: Ted P. <te...@te...> - 2008-08-07 13:16:59
|
> Looking at the comments in /usr/share/vim/vim71/filetype.vim it may be a bug > im vim, because they default to plain instead of latex, when they do not find > any latex commands, but the comment says, they would default to latex. > Therefore this should be discussed with upstream first. Maybe they can be > persuaded to use latex as default for empty files that have a .tex suffix. From a message in vim_dev: ===== In :h filetype, Vim 7.2c says that "If no keywords are found, it defaults to plaintex", which is the current behavior when g:tex_flavor is not defined. Maybe the comment is outdated. ===== So I wonder if something special should be added to the Vim-LaTeX documentation to instruct users to change their tex_flavor if they want empty .tex files to load Vim-LaTeX... -- Ted Pavlic <te...@te...> |