Add attributes to sublime syntax file (#1452)
This commit is contained in:
parent
89f9683fd4
commit
c35b131971
@ -15,6 +15,7 @@ contexts:
|
|||||||
- include: recipeContent
|
- include: recipeContent
|
||||||
- include: functions
|
- include: functions
|
||||||
- include: keywords
|
- include: keywords
|
||||||
|
- include: attributes
|
||||||
assignments:
|
assignments:
|
||||||
- match: '^(export\s+)?([a-zA-Z_][a-zA-Z0-9_-]*)\s*(:=)'
|
- match: '^(export\s+)?([a-zA-Z_][a-zA-Z0-9_-]*)\s*(:=)'
|
||||||
captures:
|
captures:
|
||||||
@ -73,3 +74,6 @@ contexts:
|
|||||||
- meta_scope: string.quoted.single.just
|
- meta_scope: string.quoted.single.just
|
||||||
- match: "'"
|
- match: "'"
|
||||||
pop: true
|
pop: true
|
||||||
|
attributes:
|
||||||
|
- match: '^\[.*?]'
|
||||||
|
scope: meta.annotation.identifier.just
|
||||||
|
Loading…
Reference in New Issue
Block a user