Skip to content

Commit

Permalink
Merge pull request #192 from intrepidws/patch-1
Browse files Browse the repository at this point in the history
Add support for @includeFirst and @includeUnless
  • Loading branch information
Medalink authored Jan 16, 2022
2 parents a834f62 + d3fa05c commit 5f19411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blade.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ contexts:
pop: true
- include: 'scope:source.php'

- match: '(\s{0}|^)(\@)\b(acfrepeater|auth|block|break|can|cannot|canany|choice|case|component|continue|dd|debug|dump|each|elsecan|elsecannot|elsecanany|elseif|embed|error|extends|for|foreach|forelse|guest|hasSection|hipchat|if|isset|empty|include|includeIf|includeWhen|inject|lang|layout|macro|macrodef|method|minify|partial|php|push|render|section|servers|set|slack|slot|stack|story|switch|task|unless|unset|while|wpposts|yield|livewire)\b(?=(|\s*|)\(\()'
- match: '(\s{0}|^)(\@)\b(acfrepeater|auth|block|break|can|cannot|canany|choice|case|component|continue|dd|debug|dump|each|elsecan|elsecannot|elsecanany|elseif|embed|error|extends|for|foreach|forelse|guest|hasSection|hipchat|if|isset|empty|include|includeFirst|includeIf|includeUnless|includeWhen|inject|lang|layout|macro|macrodef|method|minify|partial|php|push|render|section|servers|set|slack|slot|stack|story|switch|task|unless|unset|while|wpposts|yield|livewire)\b(?=(|\s*|)\(\()'
captures:
0: punctuation.section.embedded.php
2: constant.other.inline-data.html
Expand All @@ -102,7 +102,7 @@ contexts:
pop: true
- include: 'scope:source.php'

- match: '(\s{0}|^)(\@)\b(acfrepeater|auth|block|break|can|cannot|canany|choice|case|component|continue|dd|debug|dump|each|elsecan|elsecannot|elsecanany|elseif|embed|error|extends|for|foreach|forelse|guest|hasSection|hipchat|if|isset|empty|include|includeIf|includeWhen|inject|lang|layout|macro|macrodef|method|minify|partial|php|push|render|section|servers|set|slack|slot|stack|story|switch|task|unless|unset|while|wpposts|yield|livewire)\b(?=(|\s*|)\()'
- match: '(\s{0}|^)(\@)\b(acfrepeater|auth|block|break|can|cannot|canany|choice|case|component|continue|dd|debug|dump|each|elsecan|elsecannot|elsecanany|elseif|embed|error|extends|for|foreach|forelse|guest|hasSection|hipchat|if|isset|empty|include|includeFirst|includeIf|includeUnless|includeWhen|inject|lang|layout|macro|macrodef|method|minify|partial|php|push|render|section|servers|set|slack|slot|stack|story|switch|task|unless|unset|while|wpposts|yield|livewire)\b(?=(|\s*|)\()'
captures:
0: punctuation.section.embedded.php
2: constant.other.inline-data.html
Expand Down

0 comments on commit 5f19411

Please sign in to comment.