Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Get rid of hacks for detecting languages that use a CM mode configuration #7345

Open
njx opened this issue Mar 28, 2014 · 2 comments
Open

Get rid of hacks for detecting languages that use a CM mode configuration #7345

njx opened this issue Mar 28, 2014 · 2 comments
Assignees

Comments

@njx
Copy link

njx commented Mar 28, 2014

Currently, we have hacks in various places to deal with the fact that we can't easily map back from a CM mode configuration (e.g. CSS mode configured for LESS, or XML mode configured for HTML) to an actual language. We should work with Marijn to figure out a way for CM to expose to us what the actual specific MIME type is for a given location, as opposed to just giving us the main mode plus a configuration bag.

@njx
Copy link
Author

njx commented Mar 28, 2014

To @peterflynn

@njx
Copy link
Author

njx commented Mar 28, 2014

Examples of the hacks we have today:

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

No branches or pull requests

2 participants