forked from neoclide/coc-git
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
337 lines (337 loc) · 9.86 KB
/
package.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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
{
"name": "coc-git",
"version": "2.3.3",
"description": "Git extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"keywords": [
"coc.nvim",
"git"
],
"engines": {
"coc": "^0.0.80"
},
"repository": {
"type": "git",
"url": "git+https://github.com/neoclide/coc-git.git"
},
"scripts": {
"prepare": "node esbuild.js"
},
"activationEvents": [
"*"
],
"contributes": {
"commands": [
{
"title": "Refresh git information for all buffers.",
"command": "git.refresh"
},
{
"title": "Show chunk info under cursor",
"command": "git.chunkInfo"
},
{
"title": "Stage current chunk.",
"command": "git.chunkStage"
},
{
"title": "Undo current chunk.",
"command": "git.chunkUndo"
},
{
"title": "Show commit of current chunk.",
"command": "git.showCommit"
},
{
"title": "Open current line in browser, github url supported.",
"command": "git.browserOpen"
},
{
"title": "Copy url of current line to clipboard, github url supported.",
"command": "git.copyUrl"
},
{
"title": "Show cached diff in preview window.",
"command": "git.diffCached"
},
{
"title": "Fold unchanged lines of current buffer.",
"command": "git.foldUnchanged"
},
{
"title": "Toggle git gutters in sign column.",
"command": "git.toggleGutters"
},
{
"title": "Push code of current branch to remote",
"command": "git.push"
}
],
"configuration": {
"type": "object",
"properties": {
"git.command": {
"type": "string",
"default": "git",
"description": "Command for git, could be absolute path of git executable."
},
"git.remoteName": {
"type": "string",
"default": "origin",
"description": "Remote name for fetch github issues."
},
"git.browserRemoteName": {
"type": "string",
"default": "",
"description": "Remote name for browserOpen and copyUrl."
},
"git.browserBranchName": {
"type": "string",
"default": "",
"description": "Branch name for browserOpen and copyUrl."
},
"git.diffRevision": {
"type": "string",
"default": "",
"description": "Revision used for git diff used by gutters, default is current HEAD."
},
"git.issueFormat": {
"type": "string",
"default": "#%i",
"description": "Formatting string for issue completion. Supported interpolation variables: %i - issue id. %r - repository name. %o - organization/owner name. %t - issue title. %b - issue body. %c - issue created at. %a - issue author. %u - issue url."
},
"git.virtualTextPrefix": {
"type": "string",
"default": " ",
"description": "Prefix of git blame infomation to virtual text, require virtual text feature of neovim."
},
"git.addGBlameToVirtualText": {
"type": "boolean",
"default": false,
"description": "Add git blame information to virtual text, require virtual text feature of neovim."
},
"git.addGBlameToBufferVar": {
"type": "boolean",
"default": false,
"description": "Add git blame information to b:coc_git_blame."
},
"git.blameUseRealTime": {
"type": "boolean",
"default": false,
"description": "use real time in git blame info"
},
"git.branchCharacter": {
"type": "string",
"default": "",
"description": "Branch character used with g:coc_git_status"
},
"git.changedDecorator": {
"type": "string",
"default": "*",
"description": "Git changed decorator used with g:coc_git_status"
},
"git.conflictedDecorator": {
"type": "string",
"default": "x",
"description": "Git conflicted decorator used with g:coc_git_status"
},
"git.stagedDecorator": {
"type": "string",
"default": "●",
"description": "Git staged decorator used with g:coc_git_status"
},
"git.untrackedDecorator": {
"type": "string",
"default": "…",
"description": "Git untracked decorator used with g:coc_git_status"
},
"git.enableGlobalStatus": {
"type": "boolean",
"default": true,
"description": "Enable global g:coc_git_status."
},
"git.enableGutters": {
"type": "boolean",
"default": true,
"description": "Enable gutters in sign column."
},
"git.realtimeGutters": {
"type": "boolean",
"default": true,
"description": "Update gutters in realtime, default: true."
},
"git.signPriority": {
"type": "number",
"default": 10,
"description": "Priority of sign gutters, default to 10."
},
"git.pushArguments": {
"type": [
"array",
"null"
],
"default": null,
"description": "Default arguments used for git.pushCode command, ex: [\"--force-with-lease\"]",
"items": {
"type": "string"
}
},
"git.changedSign.text": {
"type": "string",
"default": "~",
"description": "Text of changed sign."
},
"git.changedSign.hlGroup": {
"type": "string",
"default": "DiffChange",
"description": "Highlight group for changed sign."
},
"git.addedSign.text": {
"type": "string",
"default": "+",
"description": "Text of added sign."
},
"git.addedSign.hlGroup": {
"type": "string",
"default": "DiffAdd",
"description": "Highlight group for added sign."
},
"git.removedSign.text": {
"type": "string",
"default": "_",
"description": "Text of removed sign."
},
"git.removedSign.hlGroup": {
"type": "string",
"default": "DiffDelete",
"description": "Highlight group for removed sign."
},
"git.topRemovedSign.text": {
"type": "string",
"default": "‾",
"description": "Text of top removed sign."
},
"git.topRemovedSign.hlGroup": {
"type": "string",
"default": "DiffDelete",
"description": "Highlight group for top removed sign."
},
"git.changeRemovedSign.text": {
"type": "string",
"default": "≃",
"description": "Text of change removed sign."
},
"git.changeRemovedSign.hlGroup": {
"type": "string",
"default": "DiffChange",
"description": "Highlight group for change removed sign."
},
"git.semanticCommit.filetypes": {
"type": [
"array",
"null"
],
"default": [
"gitcommit",
"gina-commit"
],
"description": "Enabled filetypes",
"items": {
"type": "string"
}
},
"git.semanticCommit.scope": {
"type": "boolean",
"default": true,
"description": "Commit message with scope field"
},
"git.splitWindowCommand": {
"type": "string",
"default": "above sp",
"description": "Command used when split new window for show commit."
},
"git.showCommitInFloating": {
"type": "boolean",
"default": false,
"description": "Show commit in floating or popup window"
},
"git.gitlab.hosts": {
"type": "array",
"default": [
"gitlab.com"
],
"description": "Custom GitLab hosts"
},
"git.conflict.current.hlGroup": {
"type": "string",
"default": "DiffChange",
"description": "Highlight group for the current version of a merge conflict."
},
"git.conflict.incoming.hlGroup": {
"type": "string",
"default": "DiffAdd",
"description": "Highlight group for the incoming version of a merge conflict."
},
"coc.source.issues.enable": {
"type": "boolean",
"default": true
},
"coc.source.issues.triggerCharacters": {
"type": "array",
"default": [
"#"
],
"items": {
"type": "string"
}
},
"coc.source.issues.priority": {
"type": "integer",
"default": 99
},
"coc.source.issues.shortcut": {
"type": "string",
"default": "[I]"
},
"coc.source.issues.filetypes": {
"type": [
"array",
"null"
],
"default": [
"gitcommit",
"gina-commit"
],
"description": "Enabled filetypes",
"items": {
"type": "string"
}
}
}
}
},
"author": "[email protected]",
"license": "MIT",
"devDependencies": {
"@chemzqm/tsconfig": "^0.0.3",
"@types/colors": "^1.2.1",
"@types/debounce": "^1.2.0",
"@types/node": "^10.12.0",
"@types/uuid": "^7.0.1",
"@types/which": "^1.3.2",
"coc.nvim": "^0.0.81-next.0",
"colors": "^1.4.0",
"debounce": "^1.2.0",
"esbuild": "^0.8.29",
"iconv-lite": "^0.6.2",
"rimraf": "^3.0.2",
"semver": "^7.3.5",
"timeago.js": "^4.0.2",
"ts-loader": "^8.0.3",
"typescript": "^4.1.2",
"uuid": "^7.0.1",
"which": "^2.0.2"
},
"dependencies": {}
}