coc-git 2.4.9 → 2.5.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.
- package/Readme.md +0 -2
- package/lib/index.js +360 -223
- package/package.json +14 -9
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-git",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
4
4
|
"description": "Git extension for coc.nvim",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"publisher": "chemzqm",
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
"title": "Copy url of current line to clipboard, github url supported.",
|
|
56
56
|
"command": "git.copyUrl"
|
|
57
57
|
},
|
|
58
|
+
{
|
|
59
|
+
"title": "Copy permalink of current line to clipboard, github url supported.",
|
|
60
|
+
"command": "git.copyPermalink"
|
|
61
|
+
},
|
|
58
62
|
{
|
|
59
63
|
"title": "Show cached diff in preview window.",
|
|
60
64
|
"command": "git.diffCached"
|
|
@@ -70,6 +74,10 @@
|
|
|
70
74
|
{
|
|
71
75
|
"title": "Push code of current branch to remote",
|
|
72
76
|
"command": "git.push"
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"title": "Show git blame info in float or popup window",
|
|
80
|
+
"command": "git.showBlameDoc"
|
|
73
81
|
}
|
|
74
82
|
],
|
|
75
83
|
"configuration": {
|
|
@@ -95,14 +103,6 @@
|
|
|
95
103
|
"default": "",
|
|
96
104
|
"description": "Branch name for browserOpen and copyUrl."
|
|
97
105
|
},
|
|
98
|
-
"git.urlMode": {
|
|
99
|
-
"type": "string",
|
|
100
|
-
"default": "normal",
|
|
101
|
-
"enum": [
|
|
102
|
-
"normal",
|
|
103
|
-
"permalink"
|
|
104
|
-
]
|
|
105
|
-
},
|
|
106
106
|
"git.urlFix": {
|
|
107
107
|
"type": "object",
|
|
108
108
|
"default": {},
|
|
@@ -312,6 +312,11 @@
|
|
|
312
312
|
"default": "DiffAdd",
|
|
313
313
|
"description": "Highlight group for the incoming version of a merge conflict."
|
|
314
314
|
},
|
|
315
|
+
"git.gstatus.saveBeforeOpen": {
|
|
316
|
+
"type": "boolean",
|
|
317
|
+
"default": "false",
|
|
318
|
+
"description": "Auto save opened files before open list."
|
|
319
|
+
},
|
|
315
320
|
"coc.source.issues.enable": {
|
|
316
321
|
"type": "boolean",
|
|
317
322
|
"default": true
|