-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStatus.JSON-tmLanguage
37 lines (37 loc) · 1.07 KB
/
Status.JSON-tmLanguage
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
{ "name": "GitStatus",
"scopeName": "text.git_status",
"fileTypes": ["Status", "status"],
"patterns": [
{ "match": "^- ([a-zA-Z0-9_/.]+):$",
"captures": {
"1": { "name": "constant.other" }
},
"comment": "Custom output: name of current folder"
},
{ "match": "^ D ([a-zA-Z0-9_/.- "]+)$",
"name": "markup.deleted",
"comment": "Output row of `git status -s`"
},
{ "match": "^ M ([a-zA-Z0-9_/.- "]+)$",
"name": "markup.changed",
"comment": "Output row of `git status -s`"
},
{ "match": "^[?][?] ([a-zA-Z0-9_/.- "]+)$",
"name": "markup.inserted",
"comment": "Output row of `git status -s`"
},
{ "match": "^\s*modified:.*$",
"name": "markup.changed",
"comment": "Output row of `git status`"
},
{ "match": "^\s*new:.*$",
"name": "markup.changed",
"comment": "Output row of `git status`"
},
{ "match": "^\s*deleted:.*$",
"name": "markup.deleted",
"comment": "Output row of `git status`"
},
],
"uuid": "ca03e7a1-0aef-43a0-9aab-9b9aaaeac418"
}