Skip to content

Commit

Permalink
Added support for the compiler bypass: @{{ }}
Browse files Browse the repository at this point in the history
  • Loading branch information
Medalink committed Jan 9, 2014
1 parent a4a02f4 commit 3330ed2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions laravel-blade.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,39 @@
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>@\{\{\{?-?</string>
<key>beginCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>support.constant.laravel-blade</string>
</dict>
</dict>
<key>comment</key>
<string>Catches the remainder.</string>
<key>end</key>
<string>-?\}?\}\}</string>
<key>endCaptures</key>
<dict>
<key>0</key>
<dict>
<key>name</key>
<string>support.constant.laravel-blade</string>
</dict>
</dict>
<key>name</key>
<string>embedded.line.html</string>
<key>patterns</key>
<array>
<dict>
<key>include</key>
<string>text.html.basic</string>
</dict>
</array>
</dict>
<dict>
<key>begin</key>
<string>(\s{1}|^)\@\b(if|elseif|foreach|for|while|extends|unless|each|yield|lang|choice|section|include)\b(?=(|\s*|)\()</string>
Expand Down

0 comments on commit 3330ed2

Please sign in to comment.