🐐 String interpolation
This commit is contained in:
1 parent
0b8b7c086e
commit
264ea84dfc
7 files changed
+260
-8
No files matched your search
@@ -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