-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.json
99 lines (99 loc) · 3.08 KB
/
config.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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"c": {
"identifier": ["[a-zA-Z_]", "[a-zA-Z0-9_]"],
"extensions": ["c", "cpp", "h", "hpp"],
"strings": ["\"", "'"],
"single_comments": ["//"],
"multi_comments": [["/*", "*/"]]
},
"clojure": {
"identifier": ["[a-zA-Z0-9*+!_'?<>=-]", "[a-zA-Z0-9*+!_'?<>=-]"],
"extensions": ["clj", "cljc", "cljs", "edn"],
"strings": ["\""],
"single_comments": [";"],
"multi_comments": []
},
"csharp": {
"identifier": ["[@\\p{Alphabetic}]", "[\\w]"],
"extensions": ["cs"],
"strings": ["\"", "'"],
"single_comments": ["//"],
"multi_comments": [["/*", "*/"]]
},
"elixir": {
"identifier": [
"[\\p{L}\\p{Nl}\\p{Other_ID_Start}--\\p{Pattern_Syntax}--\\p{Pattern_White_Space}]",
"[\\p{ID_Start}\\p{Mn}\\p{Mc}\\p{Nd}\\p{Pc}\\p{Other_ID_Continue}--\\p{Pattern_Syntax}--\\p{Pattern_White_Space}]|[?!]"
],
"extensions": ["ex", "exs"],
"strings": ["\"", "'"],
"single_comments": ["#"],
"multi_comments": []
},
"haskell": {
"identifier": [
"[\\p{Alphabetic}!#$%&*+./<=>?@\\\\^|~:_-]",
"[\\p{Alphabetic}\\d!#$%&*+./<=>?@\\\\^|~:_-]"
],
"extensions": ["hs"],
"strings": ["\"", "'"],
"single_comments": ["--"],
"multi_comments": [["{-", "-}"]]
},
"java": {
"identifier": ["[@\\p{Alphabetic}_$]", "[\\w$]"],
"extensions": ["java"],
"strings": ["\"", "'"],
"single_comments": ["//"],
"multi_comments": [["/*", "*/"]]
},
"javascript": {
"identifier": ["[\\p{Alphabetic}_$]", "[\\w$]"],
"extensions": ["js", "ts", "jsx", "tsx"],
"strings": ["\"", "'", "`"],
"single_comments": ["//"],
"multi_comments": [["/*", "*/"]]
},
"plain": {
"identifier": ["\\p{Alphabetic}", "\\w"],
"extensions": ["txt"],
"strings": [],
"single_comments": [],
"multi_comments": []
},
"php": {
"identifier": ["[\\p{L}\\p{Nl}]", "[\\p{ID_Continue}]"],
"extensions": ["php"],
"strings": ["\"", "'"],
"single_comments": ["//"],
"multi_comments": [["/*", "*/"]]
},
"sql": {
"identifier": ["[\\p{Alphabetic}]", "[\\w$]"],
"extensions": ["sql"],
"strings": ["'"],
"single_comments": ["--"],
"multi_comments": [["/*", "*/"]]
},
"python": {
"identifier": ["[\\p{XID_Start}_]", "\\p{XID_Continue}"],
"extensions": ["py"],
"strings": ["\"", "'"],
"single_comments": ["#"],
"multi_comments": []
},
"rust": {
"identifier": ["[\\p{XID_Start}_]", "\\p{XID_Continue}"],
"extensions": ["rs"],
"strings": ["\""],
"single_comments": ["//"],
"multi_comments": [["/*", "*/"]]
},
"visualbasic": {
"identifier": ["[\\p{XID_Start}_]", "\\p{XID_Continue}"],
"extensions": ["vb"],
"strings": ["\""],
"single_comments": ["'"],
"multi_comments": []
}
}