refactor(installer): add a way to install deps synchronously

This commit is contained in:
Oleksandr Smirnov 2025-02-27 23:10:00 +02:00
parent 0102d1b02f
commit c96dafbaf6
No known key found for this signature in database
3 changed files with 33 additions and 15 deletions

View file

@ -11,4 +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! GopherLog :lua vim.cmd("tabnew " .. require("gopher._utils.log").get_outfile())