> 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 <[EMAIL PROTECTED]> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Vim-latex-devel mailing list Vim-latex-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/vim-latex-devel