coc-git 2.4.2 → 2.4.6
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 +2 -0
- package/lib/index.js +58 -2218
- package/package.json +26 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coc-git",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "Git extension for coc.nvim",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"publisher": "chemzqm",
|
|
@@ -99,6 +99,28 @@
|
|
|
99
99
|
"permalink"
|
|
100
100
|
]
|
|
101
101
|
},
|
|
102
|
+
"git.urlFix": {
|
|
103
|
+
"type": "object",
|
|
104
|
+
"default": {},
|
|
105
|
+
"examples": [
|
|
106
|
+
{
|
|
107
|
+
"gitlab.org": [
|
|
108
|
+
"blob|-/blob",
|
|
109
|
+
"blob|-/blob"
|
|
110
|
+
],
|
|
111
|
+
"gitea.com": [
|
|
112
|
+
"blob|src/branch",
|
|
113
|
+
"blob|src/commit"
|
|
114
|
+
],
|
|
115
|
+
"gerrit.with.gitiles": [
|
|
116
|
+
"(.*)/a/(.*)/blob/(.*)#L(.*)|$1/plugins/gitiles/$2/+/refs/heads/$3#$4",
|
|
117
|
+
"(.*)/a/(.*)/blob/(.*)#L(.*)|$1/plugins/gitiles/$2/+/$3#$4"
|
|
118
|
+
]
|
|
119
|
+
}
|
|
120
|
+
],
|
|
121
|
+
"format": "{\"git-service-1's domain\":[\"fix-for-normal-url\",\"fix-for-permalink\"],\"git-service-2's domain\":...}",
|
|
122
|
+
"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."
|
|
123
|
+
},
|
|
102
124
|
"git.diffRevision": {
|
|
103
125
|
"type": "string",
|
|
104
126
|
"default": "",
|
|
@@ -330,10 +352,10 @@
|
|
|
330
352
|
"@chemzqm/tsconfig": "^0.0.3",
|
|
331
353
|
"@types/colors": "^1.2.1",
|
|
332
354
|
"@types/debounce": "^1.2.0",
|
|
333
|
-
"@types/node": "^
|
|
355
|
+
"@types/node": "^12.12.0",
|
|
334
356
|
"@types/uuid": "^7.0.1",
|
|
335
357
|
"@types/which": "^1.3.2",
|
|
336
|
-
"coc.nvim": "^0.0.81-next.
|
|
358
|
+
"coc.nvim": "^0.0.81-next.9",
|
|
337
359
|
"colors": "^1.4.0",
|
|
338
360
|
"debounce": "^1.2.0",
|
|
339
361
|
"esbuild": "^0.8.29",
|
|
@@ -341,8 +363,7 @@
|
|
|
341
363
|
"rimraf": "^3.0.2",
|
|
342
364
|
"semver": "^7.3.5",
|
|
343
365
|
"timeago.js": "^4.0.2",
|
|
344
|
-
"
|
|
345
|
-
"typescript": "^4.1.2",
|
|
366
|
+
"typescript": "^4.5.4",
|
|
346
367
|
"uuid": "^7.0.1",
|
|
347
368
|
"which": "^2.0.2"
|
|
348
369
|
},
|