Fix the Gfswitch command to call the right function

pull/1/head
Viktor Kojouharov 3 years ago committed by GitHub
parent 65bb960622
commit 95fe379935
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,7 +36,7 @@ function go.setup(cfg)
vim.cmd([[command GoRename lua require("go.rename").run()]])
vim.cmd([[command Giferr lua require("go.iferr").run()]])
vim.cmd([[command Gfstruct lua require("go.reftool").fillstruct()]])
vim.cmd([[command Gfswitch lua require("go.reftool").fillstruct()]])
vim.cmd([[command Gfswitch lua require("go.reftool").fillswitch()]])
-- vim.cmd([[command GoLint :compiler golangci-lint run | :Gmake]])
vim.cmd([[command GoLint :setl makeprg=golangci-lint\ run\ --out-format\ tab | :Gmake]])

Loading…
Cancel
Save