summary refs log tree commit diff
path: root/.vim/lua
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.vim/lua/job.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/.vim/lua/job.lua b/.vim/lua/job.lua
index bf02fc6..cb5e95a 100644
--- a/.vim/lua/job.lua
+++ b/.vim/lua/job.lua
@@ -91,6 +91,11 @@ function M.jobstart(opts)
     end
   end)
 
+  -- run vim.fn.expand() on all args
+  for i=1, #opts.args do
+    opts.args[i] = vim.fn.expandcmd(opts.args[i])
+  end
+
   local j = Job:new(opts)
   j:start()