Skip to content

Commit

Permalink
yeet: fix open for file paths with white spaces
Browse files Browse the repository at this point in the history
Signed-off-by: aserowy <serowy@hotmail.com>
  • Loading branch information
aserowy committed Nov 22, 2024
1 parent 4ed6932 commit 04f7555
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/nvim/yeet.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function M.open(split)
current = vim.fn.getcwd()
end

vim.cmd("term yeet --selection-to-file-on-open " .. M.tmp_selection_file .. " " .. current)
vim.cmd("term yeet --selection-to-file-on-open '" .. M.tmp_selection_file .. "' '" .. current .. "'")
end

function M.close()
Expand Down

0 comments on commit 04f7555

Please sign in to comment.