禁用HAML模板中的vim尖括号突出显示

I'm using PHP in some HAML templates, so I've got a lot of <?php echo ...?> going on. Vim is highlighting all the greater-than signs with the ErrorMsg highlighting group, but it gets quite annoying, as you can see:

Bad syntax highlighting

What's the best way to disable this for HAML templates?

If all else fails, you could forcibly remove the highlighting for angle brackets with these commands:

:syn match Normal '<'
:syn match Normal '>'

You can change the syntax highlighting for specific file types in vim. So for .haml files put something in your .vimrc like:

au BufNewFile,BufRead *.haml set filetype=haml

then make a haml.vim file in your home/.vim/ folder.

Also check out this link