-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathConsole.sublime-syntax
68 lines (63 loc) · 2.2 KB
/
Console.sublime-syntax
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
%YAML 1.2
---
name: Console
scope: source.console
contexts:
main:
- match: '^(startup(?=, version:)|plugins loaded|generating syntax summary)'
scope: support.function.console
- match: '^(using gpu)'
push:
- meta_scope: source.line.console
- match: \n
pop: true
- match: '^((executable|working dir|zip path):)'
push:
- meta_content_scope: constant.other.console
- meta_scope: source.line.console
- match: \n
pop: true
- match: '^((startup time|pre session restore time|first paint time):)'
push:
- meta_content_scope: constant.numeric.console
- meta_scope: source.line.console
- match: \n
pop: true
- match: '^(reloading plugin )'
push:
- meta_content_scope: keyword.other.console
- meta_scope: source.line.console
- match: \n
pop: true
- match: '^(reloading settings )'
push:
- meta_content_scope: storage.console
- meta_scope: source.line.console
- match: \n
pop: true
- match: '([-_.a-zA-Z][-_.\w]*)?/([-_.\w][-_.\w ]*/)+([-_.\w][-_.\w ]*)?'
scope: constant.other.console
- match: '([-_.a-zA-Z][:-_.\w]*)?\\([-_.\w][-_.\w ]*\\)+([-_.\w][-_.\w ]*)?'
scope: constant.other.console
- match: '\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}'
scope: constant.numeric.console
- match: '(https?:\/\/(www\.)?[-a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*))'
scope: string.other.link.console
- match: ("[^"]*")
scope: string.console
- match: ('[^']*')
scope: string.console
- match: (`[^']*')
scope: string.console
- match: '(([A-Za-z]*)?(Error|error|ERROR))'
scope: message.error.console
- match: '(([A-Za-z]*)?(Warning|warning|WARNING))'
scope: message.warning.console
- match: '^(INFO)'
scope: message.info.console
- match: '(\\x[0-9A-F]{2})|(\\[0-7]{3})|(\\\n)|(\\\\)|(\\\")|(\\'')|(\\a)|(\\b)|(\\f)|(\\n)|(\\r)|(\\t)|(\\v)'
scope: support.console
- match: '(\\U[0-9A-Fa-f]{8})|(\\u[0-9A-Fa-f]{4})|(\\N\{[a-zA-Z ]+\})'
scope: support.console
- match: (\\)(.*)$\n?
scope: support.console