Skip to content

Commit

Permalink
Fixes bug in includecss pattern syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
BenParizek committed Jul 20, 2015
1 parent 7791077 commit ddaeec3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Syntaxes/Craft-Twig.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,7 @@
<dict>
<key>begin</key>
<string>(?ix) # Enable free spacing mode, case insensitive
# Adding parentheses around this pattern breaks things
?&lt;=\{\%\s\bincludecss\b|\bincludehirescss\b\s\%\}
(?&lt;=(\{\%\s\bincludecss\b\s\%\}|(\{\%\s\bincludehirescss\b\s\%\})))
</string>
<key>comment</key>
<string>Add CSS support to set tags that use the pattern "css" in their name</string>
Expand Down

0 comments on commit ddaeec3

Please sign in to comment.