feat(log): add easy way to open log

This commit is contained in:
Smirnov Oleksandr 2024-05-02 23:41:29 +03:00
parent 385b951938
commit 5ea71be825
4 changed files with 31 additions and 23 deletions

View file

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