Skip to content

Commit

Permalink
Merge pull request #48 from uzegonemad/master
Browse files Browse the repository at this point in the history
Add multi-line comment support
  • Loading branch information
Medalink committed Jan 21, 2014
2 parents 83d8d15 + 372692c commit 6e4b670
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions laravel-blade.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<array>
<dict>
<key>begin</key>
<string>\{\{--(?=(|\s*|))(.+|)(?=(|--\}\}|))</string>
<string>\{\{--</string>
<key>captures</key>
<dict>
<key>0</key>
Expand All @@ -31,7 +31,7 @@
<key>comment</key>
<string>Laravel Blade Comments</string>
<key>end</key>
<string></string>
<string>--\}\}</string>
<key>name</key>
<string>comment.block.laravel-blade.php</string>
</dict>
Expand Down
5 changes: 5 additions & 0 deletions test.blade
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
{{-- Single-line Comment --}}

{{-- Multi-line
Comment --}}

{{-- Echo --}}
Hello, {{ $name }}.

Expand Down

0 comments on commit 6e4b670

Please sign in to comment.