Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

File type detection doesn't work for combined files #19

Open
systemmonkey42 opened this issue Mar 24, 2015 · 0 comments
Open

File type detection doesn't work for combined files #19

systemmonkey42 opened this issue Mar 24, 2015 · 0 comments

Comments

@systemmonkey42
Copy link

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..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant