mirror of
https://github.com/Reuh/sublime-anselme.git
synced 2025-10-27 03:49:29 +00:00
Update to Anselme v2.0.0-beta
This commit is contained in:
parent
35daa005cc
commit
2da885abe8
2 changed files with 13 additions and 8 deletions
|
|
@ -19,7 +19,7 @@ variables:
|
|||
|
||||
contexts:
|
||||
prototype:
|
||||
- match: '\(\('
|
||||
- match: '\/\*'
|
||||
scope: comment.line.anselme punctuation.definition.comment.anselme
|
||||
push: comment
|
||||
- match: '\s+'
|
||||
|
|
@ -32,10 +32,10 @@ contexts:
|
|||
|
||||
comment:
|
||||
- meta_scope: comment.line.anselme
|
||||
- match: '\(\('
|
||||
- match: '\/\*'
|
||||
scope: punctuation.definition.comment.anselme
|
||||
push: comment
|
||||
- match: '\)\)|$'
|
||||
- match: '\*\/|$'
|
||||
scope: punctuation.definition.comment.anselme
|
||||
pop: true
|
||||
|
||||
|
|
@ -54,10 +54,15 @@ contexts:
|
|||
- match: '\('
|
||||
scope: punctuation.section.parens.begin.anselme
|
||||
push: parenthesis
|
||||
- match: '\::?[&@]?\$'
|
||||
- match: '\::?&?@?\$'
|
||||
scope: keyword.declaration.anselme
|
||||
push: function_definition
|
||||
- match: '(\::?[&@]?)({{identifier}})'
|
||||
- match: '(\#)({{identifier}})'
|
||||
captures:
|
||||
1: keyword.declaration.anselme
|
||||
2: entity.name.label.anselme
|
||||
push: secondary
|
||||
- match: '(\::?&?@?)({{identifier}})'
|
||||
captures:
|
||||
1: keyword.declaration.anselme
|
||||
2: variable.other.anselme
|
||||
|
|
@ -102,7 +107,7 @@ contexts:
|
|||
- match: '\!'
|
||||
scope: keyword.operator.logical.anselme
|
||||
set: primary
|
||||
- match: '\*'
|
||||
- match: '\*|\%|\>'
|
||||
scope: keyword.operator.anselme
|
||||
set: primary
|
||||
|
||||
|
|
@ -211,7 +216,7 @@ contexts:
|
|||
- match: '\~|\~\?|\|\>'
|
||||
scope: keyword.control.conditional.anselme
|
||||
push: primary
|
||||
- match: '\#|\:\:|\:'
|
||||
- match: '\#|\:\:|\:|\-\>'
|
||||
scope: keyword.operator.anselme
|
||||
push: primary
|
||||
- match: '\&|\|'
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
<key>name</key>
|
||||
<string>TM_COMMENT_START</string>
|
||||
<key>value</key>
|
||||
<string>((</string>
|
||||
<string>/*</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue