Skip to content

Commit

Permalink
Merge pull request #118 from zaynali53/master
Browse files Browse the repository at this point in the history
Fix custom and multi-line directive highlight
  • Loading branch information
Medalink committed May 30, 2016
2 parents 12dda8b + 2395f8a commit 9b5894e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions blade.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ contexts:
push:
- meta_scope: source.php
- meta_content_scope: source.php
- match: '(?!.*\))'
- match: '(?<=\))'
pop: true
- include: 'scope:source.php'

Expand All @@ -51,14 +51,14 @@ contexts:
2: constant.other.inline-data.html
pop: false

- match: '(\s{0}|^)(\@)\b(.+)\b(?=(|\s*|)\()'
- match: '(\s{0}|^)(\@)\b([a-zA-Z_]+)\b(?=(|\s*|)\()'
captures:
0: constant.other.inline-data.html
2: constant.other.inline-data.html
push:
- meta_scope: custom.compiler.blade.php
- meta_content_scope: source.php
- match: '\)'
- match: '(?<=\))'
pop: true
- include: 'scope:source.php'

Expand Down

0 comments on commit 9b5894e

Please sign in to comment.