Commit 0ecd3a8a authored by Marco Kellershoff's avatar Marco Kellershoff 🤸

Fix Task command to consume all arguments

parent 7c3ebbae
......@@ -20,8 +20,8 @@ function! Taskfile#Run(...)
if s:FileExists(filepath) == 0
echo "No Taskfile found"
else
let task = get(a:, 1, "")
let cmd = s:GetTaskfileAbsoluteFilepath() . " " . task
let tasks = join(a:000, " ")
let cmd = s:GetTaskfileAbsoluteFilepath() . " " . tasks
call s:ExecExternalCommand(cmd)
endif
endfunction
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment