137
|
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
|