MatchTagAlways icon indicating copy to clipboard operation
MatchTagAlways copied to clipboard

File type detection doesn't work for combined files

Open systemmonkey42 opened this issue 11 years ago • 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..

systemmonkey42 avatar Mar 24 '15 05:03 systemmonkey42