<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 25 Jul 2018, at 05:49, Curt Sellmer <<a href="mailto:sellmerfud@gmail.com" class="">sellmerfud@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">I am using a homegrown template system that I developed for Scala based framework.  So there is no link to point you toward. </div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">If the HTML grammar would simply allow tag snames that begin with a prefix followed by a colon that would be sufficient.</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;"><br class=""></div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">I see that there are rules in the grammar with the scope names 'meta.tag.custom.start.html' and 'meta.tag.custom.end.html'</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">Could those rules be modified to include these types of tag names without causing problems elsewhere?</div><div class="gmail_default" style="font-family: verdana, sans-serif; font-size: small;">If so, I think that would do the trick.</div></div></div></blockquote><div><br class=""></div>You can create a new grammar that inherits from the HTML grammar and makes your custom changes. Have a look at the C++ grammar which includes the C grammar.<br class=""><br class=""></div><div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">--</div><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">/Jacob Carlborg</div></div><br class=""></body></html>