Adding php to g:mta_filetypes does not work as expected
faceleg opened this issue · 2 comments
faceleg commented
Thanks for creating this excellent plugin, and for your other bundles!
I'm trying to get MatchTagAlways to work with HTML embedded within PHP files using the following line in my vimrc:
let g:mta_filetypes = { 'html' : 1, 'xhtml' : 1, 'xml' : 1, 'jinja' : 1, 'ant': 1, 'php': 1 }
When I open a PHP file (:set ft?
results in filetype=php
), no tag match highlights occur.
Am I doing it wrong?
Jasonlhy commented
This is my setting and it works.
let g:mta_filetypes = {
\ 'html' : 1,
\ 'eruby' : 1,
\ 'xhtml' : 1,
\ 'xml' : 1,
\ 'jinja' : 1,
\ 'php' : 1,
}
Valloric commented
I can't repro the issue. Please provide a test case PHP file on which it fails to work.
Closing until reproduced.