-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist.sublime-syntax
More file actions
27 lines (27 loc) · 892 Bytes
/
Copy pathlist.sublime-syntax
File metadata and controls
27 lines (27 loc) · 892 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%YAML 1.2
---
name: RC List
scope: text.rc-list
contexts:
main:
- match: '^(Staff Activity|Ban History|Local NPCs(?: - .*)?)( for )?(.*)$'
captures:
1: constant.language
2: constant.language
3: entity.name.function
- match: '^(\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2})(.*)$'
captures:
1: constant.language
2: text.rc-list
- match: '^\s+(local ban|local unban|global ban|global unban|computer ban|computer unban|upload bigfile|upload|delete|rename|set|reset|open|close)(.*)$'
captures:
1: alert.blue
2: text.rc-list
- match: '^\s*(Banned for|Reason|Ban type|Account|Computer ID|NPC-Placeholder|Variables dump from|Attributes)(:.*)$'
captures:
1: constant.language
2: text.rc-list
- match: '^([^:]+)(:)'
captures:
1: entity.name.function
2: constant.language