feat: alternate between go and test files

This commit is contained in:
Aleksei Malykh 2025-07-14 16:22:34 +07:00
parent de585144eb
commit 41f619389e
No known key found for this signature in database
GPG key ID: 00FB366088A4D4CA
2 changed files with 57 additions and 0 deletions

View file

@ -85,3 +85,16 @@ end, "*")
cmd("GoGenerate", function(opts)
require("gopher").generate(opts.fargs or "")
end, "?")
-- :GoAlt
cmd("GoAlt", function()
require("gopher.alternate").switch(true, "")
end)
cmd("GoAltV", function()
require("gopher.alternate").switch(true, "vsplit")
end)
cmd("GoAltS", function()
require("gopher.alternate").switch(true, "split")
end)