Issue
How do I set vim's syntax highlighting to treat a file extension as an html file?
I'm using ez template, so the file's extension is .ezt. But a lot of it is normal html code.
Solution
You can also put this into your .vimrc:
au BufReadPost *.ezt set syntax=html
Answered By - Benoit
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.