coc-git 2.7.7 → 2.7.9

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-git",
3
- "version": "2.7.7",
3
+ "version": "2.7.9",
4
4
  "description": "Git extension for coc.nvim",
5
5
  "main": "lib/index.js",
6
6
  "publisher": "chemzqm",
@@ -16,7 +16,12 @@
16
16
  "url": "git+https://github.com/neoclide/coc-git.git"
17
17
  },
18
18
  "scripts": {
19
- "prepare": "node esbuild.js"
19
+ "prepare": "node esbuild.js",
20
+ "build": "node esbuild.js",
21
+ "lint": "tsc -p tsconfig.json",
22
+ "test": "coc-test 'test/**/*.test.ts'",
23
+ "test:nvim": "coc-test --nvim 'test/**/*.test.ts'",
24
+ "test:vim": "coc-test --vim 'test/**/*.test.ts'"
20
25
  },
21
26
  "activationEvents": [
22
27
  "*"
@@ -27,10 +32,34 @@
27
32
  "title": "Refresh git information for all buffers.",
28
33
  "command": "git.refresh"
29
34
  },
35
+ {
36
+ "title": "Navigate to the next changed chunk.",
37
+ "command": "git.nextChunk"
38
+ },
39
+ {
40
+ "title": "Navigate to the previous changed chunk.",
41
+ "command": "git.prevChunk"
42
+ },
43
+ {
44
+ "title": "Keep the current part of the merge conflict.",
45
+ "command": "git.keepCurrent"
46
+ },
47
+ {
48
+ "title": "Keep the incoming part of the merge conflict.",
49
+ "command": "git.keepIncoming"
50
+ },
51
+ {
52
+ "title": "Keep both parts of the merge conflict.",
53
+ "command": "git.keepBoth"
54
+ },
30
55
  {
31
56
  "title": "Show chunk info under cursor",
32
57
  "command": "git.chunkInfo"
33
58
  },
59
+ {
60
+ "title": "Return all changed chunks in the current buffer.",
61
+ "command": "git.allChunkInfo"
62
+ },
34
63
  {
35
64
  "title": "Stage current chunk.",
36
65
  "command": "git.chunkStage"
@@ -149,7 +178,7 @@
149
178
  "type": "string",
150
179
  "default": "",
151
180
  "scope": "window",
152
- "description": "Revision used for git diff used by gutters, default is current HEAD."
181
+ "description": "Revision used as the gutter diff base, default is the current index."
153
182
  },
154
183
  "git.issueFormat": {
155
184
  "type": "string",
@@ -163,6 +192,12 @@
163
192
  "scope": "application",
164
193
  "description": "Prefix of git blame information to virtual text, require virtual text feature of vim/neovim."
165
194
  },
195
+ "git.blameFormat": {
196
+ "type": "string",
197
+ "default": "(%a %t) %s",
198
+ "scope": "window",
199
+ "description": "Format of git blame virtual text. Supported placeholders: %a author, %t time, %s summary, %S short sha, %% literal percent."
200
+ },
166
201
  "git.addGBlameToVirtualText": {
167
202
  "type": "boolean",
168
203
  "default": false,
@@ -229,19 +264,28 @@
229
264
  "scope": "window",
230
265
  "description": "Update gutters in realtime, default: true."
231
266
  },
267
+ "git.enableStagedGutters": {
268
+ "type": "boolean",
269
+ "default": false,
270
+ "scope": "window",
271
+ "description": "Show staged changes in the sign column."
272
+ },
232
273
  "git.signPriority": {
233
274
  "type": "number",
234
275
  "default": 10,
235
276
  "scope": "application",
236
277
  "description": "Priority of sign gutters, default to 10."
237
278
  },
279
+ "git.stagedSignPriority": {
280
+ "type": "number",
281
+ "default": 9,
282
+ "scope": "window",
283
+ "description": "Priority of staged gutter signs."
284
+ },
238
285
  "git.pushArguments": {
239
- "type": [
240
- "array",
241
- "null"
242
- ],
243
- "default": null,
244
- "description": "Default arguments used for git.pushCode command, ex: [\"--force-with-lease\"]",
286
+ "type": "array",
287
+ "default": [],
288
+ "description": "Default arguments used for the git.push command, ex: [\"--force-with-lease\"]",
245
289
  "scope": "window",
246
290
  "items": {
247
291
  "type": "string"
@@ -307,6 +351,38 @@
307
351
  "scope": "application",
308
352
  "description": "Highlight group for change removed sign."
309
353
  },
354
+ "git.stagedAddedSign.text": {
355
+ "type": "string",
356
+ "default": "┃"
357
+ },
358
+ "git.stagedAddedSign.hlGroup": {
359
+ "type": "string",
360
+ "default": "CocGitStagedAdd"
361
+ },
362
+ "git.stagedChangedSign.text": {
363
+ "type": "string",
364
+ "default": "┃"
365
+ },
366
+ "git.stagedChangedSign.hlGroup": {
367
+ "type": "string",
368
+ "default": "CocGitStagedChange"
369
+ },
370
+ "git.stagedRemovedSign.text": {
371
+ "type": "string",
372
+ "default": "╻"
373
+ },
374
+ "git.stagedRemovedSign.hlGroup": {
375
+ "type": "string",
376
+ "default": "CocGitStagedDelete"
377
+ },
378
+ "git.mixedSign.text": {
379
+ "type": "string",
380
+ "default": "┋"
381
+ },
382
+ "git.mixedSign.hlGroup": {
383
+ "type": "string",
384
+ "default": "CocGitMixed"
385
+ },
310
386
  "git.semanticCommit.filetypes": {
311
387
  "type": [
312
388
  "array",
@@ -342,6 +418,7 @@
342
418
  },
343
419
  "git.floatConfig": {
344
420
  "type": "object",
421
+ "default": {},
345
422
  "description": "Configure style of float window/popup, extends from floatFactory.floatConfig",
346
423
  "additionalProperties": false,
347
424
  "scope": "application",
@@ -410,7 +487,10 @@
410
487
  "default": [
411
488
  "gitlab.com"
412
489
  ],
413
- "description": "Custom GitLab hosts"
490
+ "description": "Custom GitLab hosts",
491
+ "items": {
492
+ "type": "string"
493
+ }
414
494
  },
415
495
  "git.conflict.enabled": {
416
496
  "type": "boolean",
@@ -438,7 +518,7 @@
438
518
  },
439
519
  "git.gstatus.saveBeforeOpen": {
440
520
  "type": "boolean",
441
- "default": "false",
521
+ "default": false,
442
522
  "scope": "application",
443
523
  "description": "Auto save opened files before open list."
444
524
  },
@@ -485,25 +565,28 @@
485
565
  }
486
566
  }
487
567
  },
568
+ "coc-test": {
569
+ "entryFile": "src/index.ts"
570
+ },
488
571
  "author": "chemzqm@gmail.com",
489
572
  "license": "MIT",
490
573
  "devDependencies": {
491
574
  "@chemzqm/tsconfig": "^0.0.3",
492
575
  "@types/colors": "^1.2.1",
493
576
  "@types/debounce": "^1.2.0",
494
- "@types/node": "^16.18",
577
+ "@types/node": "^20.19.43",
495
578
  "@types/uuid": "^7.0.1",
496
579
  "@types/which": "^1.3.2",
497
- "coc.nvim": "^0.0.83-next.19",
580
+ "coc-test": "^0.1.5",
581
+ "coc.nvim": "^0.0.83-next.25",
498
582
  "colors": "^1.4.0",
499
583
  "debounce": "^1.2.0",
500
584
  "esbuild": "^0.25.0",
501
585
  "iconv-lite": "^0.6.2",
502
586
  "semver": "^7.7.1",
503
587
  "timeago.js": "^4.0.2",
504
- "typescript": "^4.5.4",
505
- "uuid": "^7.0.1",
588
+ "typescript": "^6.0.3",
589
+ "uuid": "^11.1.1",
506
590
  "which": "^2.0.2"
507
- },
508
- "dependencies": {}
591
+ }
509
592
  }
@@ -1,4 +0,0 @@
1
- # These are supported funding model platforms
2
-
3
- patreon: chemzqm
4
- custom: https://www.paypal.com/paypalme/chezqm