Valloric/MatchTagAlways

File type detection doesn't work for combined files

Opened this issue · 0 comments

If I set a combined HTML/CSS/Javascript file to "javascript.html.css" the file type detection fails.

If I remove the filetype detection, and replace the "*" in the autocmd with autocmd filetype html, then it works fine.

The method use to search the dictionary can't handle the combined file types. Use 'split(filetype,'.')' and compare each element, or just stick with four or five autocommands..