Re: synload.vim problems
- Hello Jorge,
Thursday, November 29, 2001, 5:47:41 PM, You wrote:
JOM> The thing that is baffling me now is that vim is not automatically
JOM> loading the tpl.vim syntax file I created. It works fine for other types
JOM> of files though: perl, html. php, etc. Anybody has any idea what I am
JOM> missing...? I looked into synload, and it appears that vim should be
JOM> able to figure out what syntax file to load from the extension
JOM> automatically without any change. It is doing it for other file
JOM> extensions, but not for .tpl.
You need to define a new filetype.
See :help new-filetype for detailed instructions.