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

NateEag
Copy link

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

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
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants