comparison dep/animia/util/Anisthesia.sublime-syntax @ 137:69db40272acd

dep/animia: [WIP] huge refactor this WILL NOT compile, because lots of code has been changed and every API in the original codebase has been removed. note that this api setup is not exactly permanent...
author Paper <mrpapersonic@gmail.com>
date Fri, 10 Nov 2023 13:52:47 -0500
parents
children
comparison
equal deleted inserted replaced
136:7d3ad9529c4c 137:69db40272acd
1 %YAML 1.2
2 ---
3 name: Anisthesia
4 file_extensions: [anisthesia]
5 scope: text.anisthesia
6
7 contexts:
8 main:
9 - include: comments
10 - include: keywords
11 - include: player
12 - include: strategies
13 - include: type
14 - include: string
15
16 comments:
17 - match: ^\t*#.*\n
18 scope: comment.anisthesia
19
20 keywords:
21 - match: ^\t+(executables|strategies|type|windows):?\n
22 scope: keyword.anisthesia
23
24 player:
25 - match: ^[^\s].+\n
26 scope: markup.heading.player.anisthesia
27
28 strategies:
29 - match: ^\t+(open_files|ui_automation|window_title):?\n
30 scope: constant.strategy.anisthesia
31
32 type:
33 - match: ^\t+(default|web_browser)\n
34 scope: constant.type.anisthesia
35
36 string:
37 - match: ^\t+\^?(.+)\n
38 scope: string.anisthesia