I open tex files with vim, but some files are recognized as filetype plaintex, some others as filetype tex. Why is so ? What is the trigger that recognizes the file as tex (which has the highlighting I want) ?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
Are you using the LaTeX-suite plugin? If so, then you probably want
in your .vimrc. |
|||
|
|
|
More than I ever wanted to know about this subject: http://vimdoc.sourceforge.net/htmldoc/filetype.html
|
|||
|
|