🐐 String interpolation

This commit is contained in:
2026-04-21 16:29:40 +02:00
parent 0b8b7c086e
commit 264ea84dfc
7 changed files with 260 additions and 8 deletions

View File

@@ -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: "'"