Add attributes to sublime syntax file (#1452)

This commit is contained in:
crdx 2022-12-15 21:46:55 +00:00 committed by GitHub
parent 89f9683fd4
commit c35b131971
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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