refactor(installer): use vim.system and add sync mode

This commit is contained in:
Oleksandr Smirnov 2025-02-28 14:41:45 +02:00
parent 40bd95cad8
commit 3dae7153bb
No known key found for this signature in database
2 changed files with 35 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())