mirror of
https://github.com/zyedidia/micro.git
synced 2024-10-27 04:31:18 +03:00
16 lines
596 B
YAML
16 lines
596 B
YAML
filetype: renpy
|
|
|
|
detect:
|
|
filename: "\\.rpy$"
|
|
|
|
rules:
|
|
# Script language keywords.
|
|
- 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"
|
|
# ATL keywords.
|
|
- type: "\\b(repeat|block|choice|parallel|(x|y|)(pos|offset|anchor|align|center|tile|zoom)|time|linear|easein|alpha|subpixel)\\b"
|
|
- identifier: "\\bpersistent\\b"
|
|
- special: "\\$ "
|
|
# Tab characters are not allowed in Renpy scripts.
|
|
- error: "\\t"
|
|
- include: python
|