]> git.lizzy.rs Git - micro.git/blob - runtime/syntax/renpy.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / renpy.yaml
1 filetype: renpy
2
3 detect:
4     filename: "\\.rpy$"
5
6 rules:
7     # Script language keywords.
8     - statement: "\\b(python|init|early|define|default|label|call|jump|image|layeredimage|screen|style|transform|menu|show|hide|scene|at|with|zorder|behind|pause|play|stop|fadeout|fadein|queue)\\b"
9     # ATL keywords.
10     - type: "\\b(repeat|block|choice|parallel|(x|y|)(pos|offset|anchor|align|center|tile|zoom)|time|linear|easein|alpha|subpixel)\\b"
11     - identifier: "\\bpersistent\\b"
12     - special: "\\$ "
13     # Tab characters are not allowed in Renpy scripts.
14     - error: "\\t"
15     - include: python