🐐 String interpolation
This commit is contained in:
@@ -33,6 +33,19 @@ contexts:
|
||||
scope: string.quoted.double.centvrion
|
||||
push:
|
||||
- meta_scope: string.quoted.double.centvrion
|
||||
- match: '\{\{'
|
||||
scope: constant.character.escape.centvrion
|
||||
- match: '\}\}'
|
||||
scope: constant.character.escape.centvrion
|
||||
- match: '\{'
|
||||
scope: punctuation.section.interpolation.begin.centvrion
|
||||
push:
|
||||
- clear_scopes: 1
|
||||
- meta_scope: meta.interpolation.centvrion
|
||||
- match: '\}'
|
||||
scope: punctuation.section.interpolation.end.centvrion
|
||||
pop: true
|
||||
- include: main
|
||||
- match: '"'
|
||||
pop: true
|
||||
- match: "'"
|
||||
|
||||
Reference in New Issue
Block a user