mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-19 07:17:11 +09:00
Add much better autocompletion for commands
This commit is contained in:
@@ -5,8 +5,8 @@ if GetOption("gofmt") == nil then
|
||||
AddOption("gofmt", true)
|
||||
end
|
||||
|
||||
MakeCommand("goimports", "go.save")
|
||||
MakeCommand("gofmt", "go.save")
|
||||
MakeCommand("goimports", "go.save", 0)
|
||||
MakeCommand("gofmt", "go.save", 0)
|
||||
|
||||
function onSave()
|
||||
if CurView().Buf.FileType == "Go" then
|
||||
|
||||
Reference in New Issue
Block a user