You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, just noticed that this happens for templates that use sub-components with hyphens in their name. The following example uses ember-paper to demonstrate:
<PaperForm @onSubmit={{action nextStep}} as |form|>
<step.body>
<p>Hello, World!</p>
</step.body>
<form.submit-button>
Next
</form.submit-button>
</PaperForm>
This syntax is valid, but form.submit-button doesn't highlight the -button part:
The text was updated successfully, but these errors were encountered:
This project is in "maintenance mode", which means I will accept prs that fix bugs but I probably won't make time to fix issues like this myself. In this case I think it would be relatively simple to fix the regex, so if anyone wants to do that, I'd be happy to merge a PR.
Thanks for taking the time to report this, I hope this is not too disappointing.
I ended up not following up with this, or needing to. I'll leave the issue open in case someone else wants to accept it, just wanted to give an update since originally I planned a PR.
Hi, just noticed that this happens for templates that use sub-components with hyphens in their name. The following example uses ember-paper to demonstrate:
This syntax is valid, but
form.submit-button
doesn't highlight the-button
part:The text was updated successfully, but these errors were encountered: