coc-git 2.7.7 → 2.7.8
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/AGENTS.md +60 -0
- package/Readme.md +39 -2
- package/history.md +12 -0
- package/lib/index.js +1073 -859
- package/package.json +56 -17
- package/.github/FUNDING.yml +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-git",
|
|
3
|
-
"version": "2.7.
|
|
3
|
+
"version": "2.7.8",
|
|
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
|
|
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,
|
|
@@ -236,12 +271,9 @@
|
|
|
236
271
|
"description": "Priority of sign gutters, default to 10."
|
|
237
272
|
},
|
|
238
273
|
"git.pushArguments": {
|
|
239
|
-
"type":
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
],
|
|
243
|
-
"default": null,
|
|
244
|
-
"description": "Default arguments used for git.pushCode command, ex: [\"--force-with-lease\"]",
|
|
274
|
+
"type": "array",
|
|
275
|
+
"default": [],
|
|
276
|
+
"description": "Default arguments used for the git.push command, ex: [\"--force-with-lease\"]",
|
|
245
277
|
"scope": "window",
|
|
246
278
|
"items": {
|
|
247
279
|
"type": "string"
|
|
@@ -342,6 +374,7 @@
|
|
|
342
374
|
},
|
|
343
375
|
"git.floatConfig": {
|
|
344
376
|
"type": "object",
|
|
377
|
+
"default": {},
|
|
345
378
|
"description": "Configure style of float window/popup, extends from floatFactory.floatConfig",
|
|
346
379
|
"additionalProperties": false,
|
|
347
380
|
"scope": "application",
|
|
@@ -410,7 +443,10 @@
|
|
|
410
443
|
"default": [
|
|
411
444
|
"gitlab.com"
|
|
412
445
|
],
|
|
413
|
-
"description": "Custom GitLab hosts"
|
|
446
|
+
"description": "Custom GitLab hosts",
|
|
447
|
+
"items": {
|
|
448
|
+
"type": "string"
|
|
449
|
+
}
|
|
414
450
|
},
|
|
415
451
|
"git.conflict.enabled": {
|
|
416
452
|
"type": "boolean",
|
|
@@ -438,7 +474,7 @@
|
|
|
438
474
|
},
|
|
439
475
|
"git.gstatus.saveBeforeOpen": {
|
|
440
476
|
"type": "boolean",
|
|
441
|
-
"default":
|
|
477
|
+
"default": false,
|
|
442
478
|
"scope": "application",
|
|
443
479
|
"description": "Auto save opened files before open list."
|
|
444
480
|
},
|
|
@@ -485,25 +521,28 @@
|
|
|
485
521
|
}
|
|
486
522
|
}
|
|
487
523
|
},
|
|
524
|
+
"coc-test": {
|
|
525
|
+
"entryFile": "src/index.ts"
|
|
526
|
+
},
|
|
488
527
|
"author": "chemzqm@gmail.com",
|
|
489
528
|
"license": "MIT",
|
|
490
529
|
"devDependencies": {
|
|
491
530
|
"@chemzqm/tsconfig": "^0.0.3",
|
|
492
531
|
"@types/colors": "^1.2.1",
|
|
493
532
|
"@types/debounce": "^1.2.0",
|
|
494
|
-
"@types/node": "^
|
|
533
|
+
"@types/node": "^20.19.43",
|
|
495
534
|
"@types/uuid": "^7.0.1",
|
|
496
535
|
"@types/which": "^1.3.2",
|
|
497
|
-
"coc
|
|
536
|
+
"coc-test": "^0.1.5",
|
|
537
|
+
"coc.nvim": "^0.0.83-next.25",
|
|
498
538
|
"colors": "^1.4.0",
|
|
499
539
|
"debounce": "^1.2.0",
|
|
500
540
|
"esbuild": "^0.25.0",
|
|
501
541
|
"iconv-lite": "^0.6.2",
|
|
502
542
|
"semver": "^7.7.1",
|
|
503
543
|
"timeago.js": "^4.0.2",
|
|
504
|
-
"typescript": "^
|
|
505
|
-
"uuid": "^
|
|
544
|
+
"typescript": "^6.0.3",
|
|
545
|
+
"uuid": "^11.1.1",
|
|
506
546
|
"which": "^2.0.2"
|
|
507
|
-
}
|
|
508
|
-
"dependencies": {}
|
|
547
|
+
}
|
|
509
548
|
}
|
package/.github/FUNDING.yml
DELETED