This commit is contained in:
newbie 2024-01-27 14:25:50 +08:00
parent 3fd84ce96a
commit 81483d4a44
2 changed files with 2 additions and 1 deletions

View File

@ -21,7 +21,7 @@ return {
config = function() config = function()
require("go").setup() require("go").setup()
end, end,
event = { "CmdlineEnter" }, -- event = { "CmdlineEnter" },
ft = { "go", 'gomod' }, ft = { "go", 'gomod' },
build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries build = ':lua require("go.install").update_all_sync()' -- if you need to install/update all binaries
}, },

View File

@ -20,6 +20,7 @@ return {
config = function() config = function()
G.map({ G.map({
{ "v", "ga", ":EasyAlign<CR>", { noremap = true } }, { "v", "ga", ":EasyAlign<CR>", { noremap = true } },
{ "v", "=", ":EasyAlign<CR>", { noremap = true } },
}) })
end end
}, },