Skip to content

Commit

Permalink
fix(replay)
Browse files Browse the repository at this point in the history
  • Loading branch information
gorillamoe committed Sep 6, 2024
1 parent 64b0465 commit 3198cb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/kulala/cmd/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ M.run_parser = function(req, callback)
Logger.warn("Prompt failed.")
return
end
local result = PARSER.parse(req.start_line)
local result = req.cmd ~= nil and req or PARSER.parse(req.start_line)
vim.fn.jobstart(result.cmd, {
on_stderr = function(_, datalist)
if callback then
Expand Down

0 comments on commit 3198cb9

Please sign in to comment.