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,5 +1,6 @@
|
|||
local Job = require "plenary.job"
|
||||
local ts_utils = require "gopher._utils.ts"
|
||||
local c = require("gopher.config").config.commands
|
||||
local u = require "gopher._utils"
|
||||
local M = {}
|
||||
|
||||
|
|
@ -7,7 +8,7 @@ local M = {}
|
|||
local function run(cmd_args)
|
||||
Job
|
||||
:new({
|
||||
command = "gotests",
|
||||
command = c.gotests,
|
||||
args = cmd_args,
|
||||
on_exit = function(_, retval)
|
||||
if retval ~= 0 then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue