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

Make CSS support more robust and flexible #15

Merged
merged 2 commits into from Feb 18, 2014

Conversation

Projects
None yet
2 participants
@NateEag
Copy link

commented Feb 18, 2014

By introducing a few new variables, we make it easier for users to
control whether emmet-mode will generate HTML or CSS.

The new variables are particularly helpful for using emmet-mode in
web-mode, where both CSS and HTML
may be present in the same buffer, so major-mode detection is not a
reliable means of deciding whether to generate CSS or HTML.

This should fix issue #14, as well as make it easier for users to handle similar cases themselves.

NateEag added some commits Feb 18, 2014

CSS mode detection is more robust and flexible
By introducing a few new variables, we make it easier for users to
control whether emmet-mode will generate HTML or CSS from its
abbreviations.

The new variables are particularly helpful for using emmet-mode in
[web-mode](https://github.com/fxbois/web-mode), where both CSS and HTML
may be present in the same buffer, so major-mode detection is not a
reliable means of deciding whether to generate CSS or HTML.

smihica added a commit that referenced this pull request Feb 18, 2014

Merge pull request #15 from NateEag/add-css-related-vars
Make CSS support more robust and flexible.
Thank you @NateEag !!

@smihica smihica merged commit 9762147 into smihica:master Feb 18, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.