Friday, October 28, 2011

.tpl files and highlight syntax problem

Hi,

I'm dealing with some .tpl files and I just don't know how to
configure Vim for getting a correct highlight syntax.
I put this in my _gvimrc:
au BufNewFile,BufRead *.tpl :set ft=html
so all the html code is correctly highlighted
but there's also PHP code in these .tpl files and the highlight
syntax
doesn't work with it.

How could I set Vim for a correct PHP highlight ?


Thanks

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment