-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsexp.json
57 lines (56 loc) · 1.36 KB
/
sexp.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
54
55
56
57
{
"name": "Dune",
"scopeName": "source.sexp",
"fileTypes": ["jbuild", "dune", "dune-project"],
"patterns": [
{
"match": ";.*$",
"name": "comment.line.semicolon.sexp"
}, {
"match": "%\\{[^}]*\\}",
"name": "variable.other.sexp"
}, {
"begin": "\"\\\\\\|",
"end": "$",
"name": "string.quoted.single.sexp",
"patterns": [{
"match": "\\\\(x[a-fA-F0-9][a-fA-F0-9]|[0-9][0-9][0-9]|[bnrt'\"\\\\]|\n|%{)",
"name": "constant.character.escape.sexp"
}]
}, {
"match": "\"\\\\>.*$",
"name": "string.quoted.single.sexp"
}, {
"begin": "\"",
"end": "\"",
"captures": {
"0": {
"name": "punctuation.definition.string.sexp"
}
},
"name": "string.quoted.double.sexp",
"patterns": [{
"match": "\\\\(x[a-fA-F0-9][a-fA-F0-9]|[0-9][0-9][0-9]|[bnrt'\"\\\\]|\n|%{)",
"name": "constant.character.escape.sexp"
}]
}, {
"match": "[^\"() %\\t\\n\\r;]+",
"name": "string.unquoted.sexp"
}, {
"begin": "(\\()\\s*(\\w*)",
"end": "\\)",
"captures": {
"1": {
"name": "keyword.operator.list.sexp"
},
"2": {
"name": "entity.name.function"
}
},
"name": "meta.list.sexp",
"patterns": [{
"include": "$self"
}]
}
]
}