-
-
Notifications
You must be signed in to change notification settings - Fork 40
/
package.json
489 lines (489 loc) · 15.3 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
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
{
"name": "coc-git",
"version": "2.7.0",
"description": "Git extension for coc.nvim",
"main": "lib/index.js",
"publisher": "chemzqm",
"keywords": [
"coc.nvim",
"git"
],
"engines": {
"coc": "^0.0.82"
},
"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": "Unstage chunk that contains current line",
"command": "git.chunkUnstage"
},
{
"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": "Copy permalink of current line to clipboard, github url supported.",
"command": "git.copyPermalink"
},
{
"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"
},
{
"title": "Show git blame info in float or popup window",
"command": "git.showBlameDoc"
}
],
"configuration": {
"type": "object",
"properties": {
"git.command": {
"type": "string",
"default": "git",
"scope": "application",
"description": "Command for git, could be absolute path of git executable."
},
"git.remoteName": {
"type": "string",
"default": "origin",
"scope": "window",
"description": "Remote name for fetch github issues."
},
"git.browserRemoteName": {
"type": "string",
"default": "",
"scope": "window",
"description": "Remote name for browserOpen and copyUrl."
},
"git.browserBranchName": {
"type": "string",
"default": "",
"scope": "window",
"description": "Branch name for browserOpen and copyUrl."
},
"git.urlFix": {
"type": "object",
"default": {},
"scope": "application",
"examples": [
{
"gitlab.org": [
"blob|-/blob",
"blob|-/blob"
],
"gitea.com": [
"blob|src/branch",
"blob|src/commit"
],
"gerrit.with.gitiles": [
"(.*)/a/(.*)/blob/(.*)#L(.*)|$1/plugins/gitiles/$2/+/refs/heads/$3#$4",
"(.*)/a/(.*)/blob/(.*)#L(.*)|$1/plugins/gitiles/$2/+/$3#$4"
]
}
],
"format": "{\"git-service-1's domain\":[\"fix-for-normal-url\",\"fix-for-permalink\"],\"git-service-2's domain\":...}",
"description": "A fix is a string, like \"pattern|replacement\" show in examples sessions, use to transform github style url to whatever you like. copyUrl will run url.replace(pattern,replacement) after generate a github style url. Example configuration make browserOpen and copyUrl work with gitlab, gitea and gerrit with gitiles."
},
"git.diffRevision": {
"type": "string",
"default": "",
"scope": "window",
"description": "Revision used for git diff used by gutters, default is current HEAD."
},
"git.issueFormat": {
"type": "string",
"scope": "application",
"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": " ",
"scope": "application",
"description": "Prefix of git blame information to virtual text, require virtual text feature of vim/neovim."
},
"git.addGBlameToVirtualText": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "Add git blame information to virtual text, require virtual text feature of vim/neovim."
},
"git.addGBlameToBufferVar": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "Add git blame information to b:coc_git_blame."
},
"git.blameUseRealTime": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "use real time in git blame info"
},
"git.branchCharacter": {
"type": "string",
"default": "",
"scope": "application",
"description": "Branch character used with g:coc_git_status"
},
"git.changedDecorator": {
"type": "string",
"default": "*",
"scope": "application",
"description": "Git changed decorator used with g:coc_git_status"
},
"git.conflictedDecorator": {
"type": "string",
"default": "x",
"scope": "application",
"description": "Git conflicted decorator used with g:coc_git_status"
},
"git.stagedDecorator": {
"type": "string",
"default": "●",
"scope": "application",
"description": "Git staged decorator used with g:coc_git_status"
},
"git.untrackedDecorator": {
"type": "string",
"default": "…",
"scope": "application",
"description": "Git untracked decorator used with g:coc_git_status"
},
"git.enableGlobalStatus": {
"type": "boolean",
"default": true,
"scope": "window",
"description": "Enable global g:coc_git_status."
},
"git.enableGutters": {
"type": "boolean",
"default": true,
"scope": "window",
"description": "Enable gutters in sign column."
},
"git.realtimeGutters": {
"type": "boolean",
"default": true,
"scope": "window",
"description": "Update gutters in realtime, default: true."
},
"git.signPriority": {
"type": "number",
"default": 10,
"scope": "application",
"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\"]",
"scope": "window",
"items": {
"type": "string"
}
},
"git.changedSign.text": {
"type": "string",
"default": "~",
"scope": "application",
"description": "Text of changed sign."
},
"git.changedSign.hlGroup": {
"type": "string",
"default": "DiffChange",
"scope": "application",
"description": "Highlight group for changed sign."
},
"git.addedSign.text": {
"type": "string",
"default": "+",
"scope": "application",
"description": "Text of added sign."
},
"git.addedSign.hlGroup": {
"type": "string",
"default": "DiffAdd",
"scope": "application",
"description": "Highlight group for added sign."
},
"git.removedSign.text": {
"type": "string",
"default": "_",
"scope": "application",
"description": "Text of removed sign."
},
"git.removedSign.hlGroup": {
"type": "string",
"default": "DiffDelete",
"scope": "application",
"description": "Highlight group for removed sign."
},
"git.topRemovedSign.text": {
"type": "string",
"default": "‾",
"scope": "application",
"description": "Text of top removed sign."
},
"git.topRemovedSign.hlGroup": {
"type": "string",
"default": "DiffDelete",
"scope": "application",
"description": "Highlight group for top removed sign."
},
"git.changeRemovedSign.text": {
"type": "string",
"default": "≃",
"scope": "application",
"description": "Text of change removed sign."
},
"git.changeRemovedSign.hlGroup": {
"type": "string",
"default": "DiffChange",
"scope": "application",
"description": "Highlight group for change removed sign."
},
"git.semanticCommit.filetypes": {
"type": [
"array",
"null"
],
"default": [
"gitcommit",
"gina-commit"
],
"scope": "application",
"description": "Enabled filetypes",
"items": {
"type": "string"
}
},
"git.semanticCommit.scope": {
"type": "boolean",
"default": true,
"scope": "application",
"description": "Commit message with scope field"
},
"git.splitWindowCommand": {
"type": "string",
"default": "above sp",
"scope": "application",
"description": "Command used when split new window for show commit."
},
"git.showCommitInFloating": {
"type": "boolean",
"default": false,
"scope": "application",
"description": "Show commit in floating or popup window"
},
"git.floatConfig": {
"type": "object",
"description": "Configure style of float window/popup, extends from floatFactory.floatConfig",
"additionalProperties": false,
"scope": "application",
"properties": {
"border": {
"type": "boolean",
"default": false,
"description": "Set to true to use borders."
},
"rounded": {
"type": "boolean",
"default": false,
"description": "Use rounded borders when border is true."
},
"highlight": {
"type": "string",
"default": "CocFloating",
"description": "Background highlight group of float window."
},
"title": {
"type": "string",
"default": "",
"description": "Title used by float window."
},
"borderhighlight": {
"type": "string",
"default": "CocFloating",
"description": "Border highlight group of float window."
},
"close": {
"type": "boolean",
"default": false,
"description": "Set to true to draw close icon"
},
"maxWidth": {
"type": "integer",
"description": "Maximum width of float window, include border."
},
"maxHeight": {
"type": "integer",
"minimum": 2,
"description": "Maximum height of float window, include border."
},
"focusable": {
"type": "boolean",
"default": true,
"description": "Enable focus by user actions (wincmds, mouse events), neovim only."
},
"shadow": {
"type": "boolean",
"default": false,
"description": "Drop shadow effect by blending with the background, neovim only."
},
"winblend": {
"type": "integer",
"default": 0,
"minimum": 0,
"maximum": 100,
"description": "Enables pseudo-transparency by set 'winblend' option of window, neovim only."
}
}
},
"git.gitlab.hosts": {
"type": "array",
"scope": "window",
"default": [
"gitlab.com"
],
"description": "Custom GitLab hosts"
},
"git.conflict.enabled": {
"type": "boolean",
"scope": "application",
"default": true,
"description": "Enable highlight conflict lines."
},
"git.conflict.current.hlGroup": {
"type": "string",
"default": "DiffChange",
"scope": "application",
"description": "Highlight group for the current version of a merge conflict."
},
"git.conflict.incoming.hlGroup": {
"type": "string",
"default": "DiffAdd",
"scope": "application",
"description": "Highlight group for the incoming version of a merge conflict."
},
"git.gstatus.saveBeforeOpen": {
"type": "boolean",
"default": "false",
"scope": "application",
"description": "Auto save opened files before open list."
},
"coc.source.issues.enable": {
"type": "boolean",
"scope": "application",
"default": true
},
"coc.source.issues.triggerCharacters": {
"type": "array",
"default": [
"#"
],
"scope": "application",
"items": {
"type": "string"
}
},
"coc.source.issues.priority": {
"type": "integer",
"scope": "application",
"default": 99
},
"coc.source.issues.shortcut": {
"type": "string",
"scope": "application",
"default": "[I]"
},
"coc.source.issues.filetypes": {
"type": [
"array",
"null"
],
"default": [
"gitcommit",
"gina-commit"
],
"description": "Enabled filetypes",
"scope": "application",
"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": "^12.12.0",
"@types/uuid": "^7.0.1",
"@types/which": "^1.3.2",
"coc.nvim": "^0.0.83-next.14",
"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",
"typescript": "^4.5.4",
"uuid": "^7.0.1",
"which": "^2.0.2"
},
"dependencies": {}
}