diff --git a/lua/artio/builtins.lua b/lua/artio/builtins.lua index f8a7afc..e1ae601 100644 --- a/lua/artio/builtins.lua +++ b/lua/artio/builtins.lua @@ -90,7 +90,9 @@ builtins.grep = function(props) props.grepprg = props.grepprg or vim.o.grepprg local ext = require("vim._extui.shared") - local grepcmd = utils.make_cmd(props.grepprg) + local grepcmd = utils.make_cmd(props.grepprg, { + cwd = vim.fn.getcwd(0), + }) return artio.pick(extend({ items = {},