Skip to content

Commit

Permalink
Allow invalid < match to work in all HTML based grammars
Browse files Browse the repository at this point in the history
Using R: in front of the scope ensures that it loads after any other injected rules to prevent conflicts.
  • Loading branch information
infininight committed Aug 21, 2013
1 parent de842b0 commit 87009dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Syntaxes/HTML.plist
Expand Up @@ -16,10 +16,10 @@
<string>&lt;(?i:(!DOCTYPE\s*)?html)</string>
<key>injections</key>
<dict>
<key>text.html.basic - comment.block</key>
<key>R:text.html - comment.block</key>
<dict>
<key>comment</key>
<string>Match this via injection so it doesnt match in other grammars.</string>
<string>Use R: to ensure this matches after any other injections.</string>
<key>patterns</key>
<array>
<dict>
Expand Down

0 comments on commit 87009dc

Please sign in to comment.