Skip to content

Commit 9a1f4b6

Browse files
committed
fix(windows): shellescape spawn.lua (closes #2030)
1 parent fe71a7c commit 9a1f4b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/fzf-lua/libuv.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ M.wrap_spawn_stdio = function(opts, fn_transform, fn_preprocess, fn_postprocess)
694694
local nvim_bin = os.getenv("FZF_LUA_NVIM_BIN") or vim.v.progpath
695695
local cmd_str = ("%s -u NONE -l %s %s"):format(
696696
M.shellescape(_is_win and vim.fs.normalize(nvim_bin) or nvim_bin),
697-
vim.fn.fnamemodify(_is_win and vim.fs.normalize(__FILE__) or __FILE__, ":h") .. "/spawn.lua",
697+
M.shellescape(vim.fn.fnamemodify(_is_win and vim.fs.normalize(__FILE__) or __FILE__, ":h") .. "/spawn.lua"),
698698
M.shellescape(("return %s,%s,%s,%s"):format(opts, fn_transform, fn_preprocess, fn_postprocess))
699699
)
700700
return cmd_str

0 commit comments

Comments
 (0)