Skip to content

Commit 1b9e5fa

Browse files
committed
New version for new plugin manager
1 parent ffe5e2f commit 1b9e5fa

File tree

3 files changed

+26
-11
lines changed

3 files changed

+26
-11
lines changed

go.lua

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
VERSION = "2.0.0"
2+
13
local micro = import("micro")
24
local config = import("micro/config")
35
local shell = import("micro/shell")
@@ -24,7 +26,7 @@ function onSave(bp)
2426
gofmt(bp)
2527
end
2628
end
27-
return false
29+
return true
2830
end
2931

3032
function gofmt(bp)

info.json

Lines changed: 0 additions & 10 deletions
This file was deleted.

repo.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[{
2+
"Name": "go",
3+
"Description": "Go language support (gofmt and goimports)",
4+
"Tags": ["go", "golang"],
5+
"Website": "https://github.com/micro-editor/go-plugin",
6+
"Versions": [
7+
{
8+
"Version": "2.0.0",
9+
"Url": "https://github.com/micro-editor/go-plugin/archive/v2.0.0.zip",
10+
"Require": {
11+
"micro": ">=2.0.0"
12+
}
13+
},
14+
{
15+
"Version": "1.0.6",
16+
"Url": "https://github.com/micro-editor/comment-plugin/archive/v1.0.6.zip",
17+
"Require": {
18+
"micro": ">=1.1.0 <2.0.0"
19+
}
20+
}
21+
]
22+
}]
23+

0 commit comments

Comments
 (0)