coc-git 2.6.0 → 2.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/Readme.md +3 -0
  2. package/lib/index.js +400 -289
  3. package/package.json +47 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-git",
3
- "version": "2.6.0",
3
+ "version": "2.7.0",
4
4
  "description": "Git extension for coc.nvim",
5
5
  "main": "lib/index.js",
6
6
  "publisher": "chemzqm",
@@ -86,26 +86,31 @@
86
86
  "git.command": {
87
87
  "type": "string",
88
88
  "default": "git",
89
+ "scope": "application",
89
90
  "description": "Command for git, could be absolute path of git executable."
90
91
  },
91
92
  "git.remoteName": {
92
93
  "type": "string",
93
94
  "default": "origin",
95
+ "scope": "window",
94
96
  "description": "Remote name for fetch github issues."
95
97
  },
96
98
  "git.browserRemoteName": {
97
99
  "type": "string",
98
100
  "default": "",
101
+ "scope": "window",
99
102
  "description": "Remote name for browserOpen and copyUrl."
100
103
  },
101
104
  "git.browserBranchName": {
102
105
  "type": "string",
103
106
  "default": "",
107
+ "scope": "window",
104
108
  "description": "Branch name for browserOpen and copyUrl."
105
109
  },
106
110
  "git.urlFix": {
107
111
  "type": "object",
108
112
  "default": {},
113
+ "scope": "application",
109
114
  "examples": [
110
115
  {
111
116
  "gitlab.org": [
@@ -128,76 +133,91 @@
128
133
  "git.diffRevision": {
129
134
  "type": "string",
130
135
  "default": "",
136
+ "scope": "window",
131
137
  "description": "Revision used for git diff used by gutters, default is current HEAD."
132
138
  },
133
139
  "git.issueFormat": {
134
140
  "type": "string",
141
+ "scope": "application",
135
142
  "default": "#%i",
136
143
  "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."
137
144
  },
138
145
  "git.virtualTextPrefix": {
139
146
  "type": "string",
140
147
  "default": " ",
148
+ "scope": "application",
141
149
  "description": "Prefix of git blame information to virtual text, require virtual text feature of vim/neovim."
142
150
  },
143
151
  "git.addGBlameToVirtualText": {
144
152
  "type": "boolean",
145
153
  "default": false,
154
+ "scope": "window",
146
155
  "description": "Add git blame information to virtual text, require virtual text feature of vim/neovim."
147
156
  },
148
157
  "git.addGBlameToBufferVar": {
149
158
  "type": "boolean",
150
159
  "default": false,
160
+ "scope": "window",
151
161
  "description": "Add git blame information to b:coc_git_blame."
152
162
  },
153
163
  "git.blameUseRealTime": {
154
164
  "type": "boolean",
155
165
  "default": false,
166
+ "scope": "window",
156
167
  "description": "use real time in git blame info"
157
168
  },
158
169
  "git.branchCharacter": {
159
170
  "type": "string",
160
171
  "default": "",
172
+ "scope": "application",
161
173
  "description": "Branch character used with g:coc_git_status"
162
174
  },
163
175
  "git.changedDecorator": {
164
176
  "type": "string",
165
177
  "default": "*",
178
+ "scope": "application",
166
179
  "description": "Git changed decorator used with g:coc_git_status"
167
180
  },
168
181
  "git.conflictedDecorator": {
169
182
  "type": "string",
170
183
  "default": "x",
184
+ "scope": "application",
171
185
  "description": "Git conflicted decorator used with g:coc_git_status"
172
186
  },
173
187
  "git.stagedDecorator": {
174
188
  "type": "string",
175
189
  "default": "●",
190
+ "scope": "application",
176
191
  "description": "Git staged decorator used with g:coc_git_status"
177
192
  },
178
193
  "git.untrackedDecorator": {
179
194
  "type": "string",
180
195
  "default": "…",
196
+ "scope": "application",
181
197
  "description": "Git untracked decorator used with g:coc_git_status"
182
198
  },
183
199
  "git.enableGlobalStatus": {
184
200
  "type": "boolean",
185
201
  "default": true,
202
+ "scope": "window",
186
203
  "description": "Enable global g:coc_git_status."
187
204
  },
188
205
  "git.enableGutters": {
189
206
  "type": "boolean",
190
207
  "default": true,
208
+ "scope": "window",
191
209
  "description": "Enable gutters in sign column."
192
210
  },
193
211
  "git.realtimeGutters": {
194
212
  "type": "boolean",
195
213
  "default": true,
214
+ "scope": "window",
196
215
  "description": "Update gutters in realtime, default: true."
197
216
  },
198
217
  "git.signPriority": {
199
218
  "type": "number",
200
219
  "default": 10,
220
+ "scope": "application",
201
221
  "description": "Priority of sign gutters, default to 10."
202
222
  },
203
223
  "git.pushArguments": {
@@ -207,6 +227,7 @@
207
227
  ],
208
228
  "default": null,
209
229
  "description": "Default arguments used for git.pushCode command, ex: [\"--force-with-lease\"]",
230
+ "scope": "window",
210
231
  "items": {
211
232
  "type": "string"
212
233
  }
@@ -214,51 +235,61 @@
214
235
  "git.changedSign.text": {
215
236
  "type": "string",
216
237
  "default": "~",
238
+ "scope": "application",
217
239
  "description": "Text of changed sign."
218
240
  },
219
241
  "git.changedSign.hlGroup": {
220
242
  "type": "string",
221
243
  "default": "DiffChange",
244
+ "scope": "application",
222
245
  "description": "Highlight group for changed sign."
223
246
  },
224
247
  "git.addedSign.text": {
225
248
  "type": "string",
226
249
  "default": "+",
250
+ "scope": "application",
227
251
  "description": "Text of added sign."
228
252
  },
229
253
  "git.addedSign.hlGroup": {
230
254
  "type": "string",
231
255
  "default": "DiffAdd",
256
+ "scope": "application",
232
257
  "description": "Highlight group for added sign."
233
258
  },
234
259
  "git.removedSign.text": {
235
260
  "type": "string",
236
261
  "default": "_",
262
+ "scope": "application",
237
263
  "description": "Text of removed sign."
238
264
  },
239
265
  "git.removedSign.hlGroup": {
240
266
  "type": "string",
241
267
  "default": "DiffDelete",
268
+ "scope": "application",
242
269
  "description": "Highlight group for removed sign."
243
270
  },
244
271
  "git.topRemovedSign.text": {
245
272
  "type": "string",
246
273
  "default": "‾",
274
+ "scope": "application",
247
275
  "description": "Text of top removed sign."
248
276
  },
249
277
  "git.topRemovedSign.hlGroup": {
250
278
  "type": "string",
251
279
  "default": "DiffDelete",
280
+ "scope": "application",
252
281
  "description": "Highlight group for top removed sign."
253
282
  },
254
283
  "git.changeRemovedSign.text": {
255
284
  "type": "string",
256
285
  "default": "≃",
286
+ "scope": "application",
257
287
  "description": "Text of change removed sign."
258
288
  },
259
289
  "git.changeRemovedSign.hlGroup": {
260
290
  "type": "string",
261
291
  "default": "DiffChange",
292
+ "scope": "application",
262
293
  "description": "Highlight group for change removed sign."
263
294
  },
264
295
  "git.semanticCommit.filetypes": {
@@ -270,6 +301,7 @@
270
301
  "gitcommit",
271
302
  "gina-commit"
272
303
  ],
304
+ "scope": "application",
273
305
  "description": "Enabled filetypes",
274
306
  "items": {
275
307
  "type": "string"
@@ -278,22 +310,26 @@
278
310
  "git.semanticCommit.scope": {
279
311
  "type": "boolean",
280
312
  "default": true,
313
+ "scope": "application",
281
314
  "description": "Commit message with scope field"
282
315
  },
283
316
  "git.splitWindowCommand": {
284
317
  "type": "string",
285
318
  "default": "above sp",
319
+ "scope": "application",
286
320
  "description": "Command used when split new window for show commit."
287
321
  },
288
322
  "git.showCommitInFloating": {
289
323
  "type": "boolean",
290
324
  "default": false,
325
+ "scope": "application",
291
326
  "description": "Show commit in floating or popup window"
292
327
  },
293
328
  "git.floatConfig": {
294
329
  "type": "object",
295
330
  "description": "Configure style of float window/popup, extends from floatFactory.floatConfig",
296
331
  "additionalProperties": false,
332
+ "scope": "application",
297
333
  "properties": {
298
334
  "border": {
299
335
  "type": "boolean",
@@ -355,6 +391,7 @@
355
391
  },
356
392
  "git.gitlab.hosts": {
357
393
  "type": "array",
394
+ "scope": "window",
358
395
  "default": [
359
396
  "gitlab.com"
360
397
  ],
@@ -362,26 +399,31 @@
362
399
  },
363
400
  "git.conflict.enabled": {
364
401
  "type": "boolean",
402
+ "scope": "application",
365
403
  "default": true,
366
404
  "description": "Enable highlight conflict lines."
367
405
  },
368
406
  "git.conflict.current.hlGroup": {
369
407
  "type": "string",
370
408
  "default": "DiffChange",
409
+ "scope": "application",
371
410
  "description": "Highlight group for the current version of a merge conflict."
372
411
  },
373
412
  "git.conflict.incoming.hlGroup": {
374
413
  "type": "string",
375
414
  "default": "DiffAdd",
415
+ "scope": "application",
376
416
  "description": "Highlight group for the incoming version of a merge conflict."
377
417
  },
378
418
  "git.gstatus.saveBeforeOpen": {
379
419
  "type": "boolean",
380
420
  "default": "false",
421
+ "scope": "application",
381
422
  "description": "Auto save opened files before open list."
382
423
  },
383
424
  "coc.source.issues.enable": {
384
425
  "type": "boolean",
426
+ "scope": "application",
385
427
  "default": true
386
428
  },
387
429
  "coc.source.issues.triggerCharacters": {
@@ -389,16 +431,19 @@
389
431
  "default": [
390
432
  "#"
391
433
  ],
434
+ "scope": "application",
392
435
  "items": {
393
436
  "type": "string"
394
437
  }
395
438
  },
396
439
  "coc.source.issues.priority": {
397
440
  "type": "integer",
441
+ "scope": "application",
398
442
  "default": 99
399
443
  },
400
444
  "coc.source.issues.shortcut": {
401
445
  "type": "string",
446
+ "scope": "application",
402
447
  "default": "[I]"
403
448
  },
404
449
  "coc.source.issues.filetypes": {
@@ -411,6 +456,7 @@
411
456
  "gina-commit"
412
457
  ],
413
458
  "description": "Enabled filetypes",
459
+ "scope": "application",
414
460
  "items": {
415
461
  "type": "string"
416
462
  }