refactor(installer)!: add sync as an option

This commit is contained in:
Oleksandr Smirnov 2025-02-28 15:08:27 +02:00
parent 2bb372966b
commit 2aa86a1bbe
No known key found for this signature in database
2 changed files with 8 additions and 7 deletions

View file

@ -11,5 +11,5 @@ command! -nargs=* GoGenerate :lua require"gopher".generate(<f-args>)
command! GoCmt :lua require"gopher".comment()
command! GoIfErr :lua require"gopher".iferr()
command! GoInstallDeps :lua require"gopher".install_deps()
command! GoInstallDepsSync :lua require"gopher".install_deps(true)
command! GoInstallDepsSync :lua require"gopher".install_deps({ sync = true })
command! GopherLog :lua vim.cmd("tabnew " .. require("gopher._utils.log").get_outfile())