Changing the default syntax for a file
- My apologies if this has already been asked, but in a current project we
are using the perl module HTML::Template to code a web based tool. In
using this I've found that I can force the syntax to html (all of the files
are .tmpl for easy identification) by using
My question is how can I get vim to automagically use the html syntax
highlighting for the .tmpl files?
- Dave D wrote: [Wed May 2 2001, 11:43:51AM EDT]
> My question is how can I get vim to automagically use the html syntaxTry adding this to your .vimrc:
> highlighting for the .tmpl files?
au BufRead *.tmpl set syntax=html