Skip to content

Commit

Permalink
Added support for stacks
Browse files Browse the repository at this point in the history
  • Loading branch information
shnhrrsn committed May 14, 2018
1 parent 9b8e60c commit 9df8e3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grind-stone.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -57,15 +57,15 @@ contexts:
- meta_scope: meta.stone.symbol.js
- include: directive_args

- match: '(\s{0}|^)(\@)\b(asset|babel|block|break|coffee|continue|css|debug|dump|each|elseif|extends|for|foreach|forelse|hasSection|if|include|js|layout|less|push|sass|scss|script|set|stack|styl|style|stylus|unless|while)\b(?=(|\s*|)\()'
- match: '(\s{0}|^)(\@)\b(asset|babel|block|break|coffee|continue|css|debug|dump|each|elseif|extends|for|foreach|forelse|hasSection|hassection|hasStack|hasstack|if|include|js|layout|less|push|sass|scss|script|set|stack|styl|style|stylus|unless|unlesshasstack|unlessHasStack|while)\b(?=(|\s*|)\()'
captures:
0: punctuation.section.embedded.js
2: keyword.control.flow.js
3: keyword.control.flow.js
push:
- include: directive_args

- match: '(\s{0}|^)(\@)\b(break|continue|else|empty|endblock|endcomponent|endfor|endforeach|endforelse|endif|endmacro|endpush|endsection|endslot|endspaceless|endunless|endwhile|parent|setup|show|spaceless|super)\b'
- match: '(\s{0}|^)(\@)\b(break|continue|else|empty|endblock|endcomponent|endfor|endforeach|endforelse|endif|endmacro|endpush|endsection|endhasstack|endslot|endspaceless|endunless|endunlesshasstack|endwhile|parent|setup|show|spaceless|super)\b'
scope: custom.compiler.stone.js
captures:
0: punctuation.section.embedded.js
Expand Down

0 comments on commit 9df8e3a

Please sign in to comment.