feat(config): add base implementation
* feat(config): naive implementation feat(config): get command for a run from config * docs: add config * fix typo [skip ci] * test: add config
This commit is contained in:
parent
1db0914cfc
commit
40a2839eab
11 changed files with 97 additions and 10 deletions
|
|
@ -1,4 +1,5 @@
|
|||
local Job = require "plenary.job"
|
||||
local c = require("gopher.config").config.commands
|
||||
local u = require "gopher._utils"
|
||||
|
||||
---run "go mod"
|
||||
|
|
@ -13,7 +14,7 @@ return function(...)
|
|||
|
||||
Job
|
||||
:new({
|
||||
command = "go",
|
||||
command = c.go,
|
||||
args = cmd_args,
|
||||
on_exit = function(_, retval)
|
||||
if retval ~= 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue