%YAML 1.2 --- name: Centvrion file_extensions: - cent scope: source.centvrion contexts: main: - include: comments - include: strings - include: fractions - include: keywords - include: numerals - include: constants - include: builtins - include: modules - include: operators - include: identifiers comments: - match: '//[^\n]*' scope: comment.line.centvrion - match: '/\*' scope: comment.block.centvrion push: - meta_scope: comment.block.centvrion - match: '\*/' pop: true strings: - match: '"' 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: "'" scope: string.quoted.single.centvrion push: - meta_scope: string.quoted.single.centvrion - match: "'" pop: true fractions: - match: '\b[IVXLCDM][IVXLCDM_]*(?:S[S:.|]*|:[S:.|]+|\.[S:.|]*)' scope: constant.numeric.fraction.centvrion - match: '(?