/
ntlc.tmLanguage.json
53 lines (53 loc) · 1.26 KB
/
ntlc.tmLanguage.json
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
{
"$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json",
"name": "NTLC",
"patterns": [
{
"include": "#keywords"
},
{
"include": "#builtins"
},
{
"include": "#special-constants"
},
{
"include": "#numbers"
}
],
"repository": {
"keywords": {
"patterns": [
{
"name": "keyword.control.ntlc",
"match": "\\b(if|then|else)\\b"
}
]
},
"numbers": {
"patterns": [
{
"name": "constant.numeric.ntlc",
"match": "\\b(0)\\b"
}
]
},
"builtins": {
"patterns": [
{
"name": "support.function.ntlc",
"match": "\\b(succ|pred|iszero)\\b"
}
]
},
"special-constants": {
"patterns": [
{
"name": "constant.language.ntlc",
"match": "\\b(true|false)\\b"
}
]
}
},
"scopeName": "source.ntlc"
}