%YAML 1.2 --- name: Zelus file_extensions: [zls, zli] scope: source contexts: main: - match: \b(type|val|let|in|where|rec|and|local)\b scope: keyword.control - match: \b(if|then|else|match|with)\b scope: keyword.control.conditional - match: \b(hybrid|node)\b scope: keyword.control - match: \b(period|up|assert|der|init|reset|present|last|fby|pre)\b scope: keyword.control - match: \b(float|int|bool)\b scope: entity.name.type - match: \b[0-9]*(\.[0-9]+)?\b scope: constant - match: \b(true|false)\b scope: constant - match: '"' push: string - match: \(\* push: comment string: - meta_scope: string.quoted.double - match: \\. scope: constant.character.escape - match: '"' pop: true comment: - meta_scope: comment - match: \*\) pop: true