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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to allow custom tags without hyphens #99

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ycmjason
Copy link

@ycmjason ycmjason commented Jan 4, 2019

In Vue/Angular, many developers prefer using <CamelCase> to refer to their components instead of <kebab-case>. Although <CamelCase> is not a custom element according to the html5 specs, I think it wouldn't hurt to add the option? 馃槃馃槃馃槃馃槃

I have added this option g:html5_custom_tag_requires_hyphen which is default to 1 and enforces standard html5. When set to 0, it will treat <CamelCase> as a custom tag too and indent them.

P.S. not sure what is the best description for this new config in README.md

@ycmjason
Copy link
Author

ycmjason commented Jan 5, 2019

notice that there was an issue here

#98

@othree othree self-assigned this Jan 5, 2019
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