Skip to content

Commit

Permalink
fix: support directories with spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Nov 5, 2024
1 parent 9b75958 commit d46aaf8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink-ripgrep/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function RgSource.new(opts)
"--ignore-case",
"--",
prefix .. "[\\w_-]+",
vim.fs.root(0, ".git") or vim.fn.getcwd(),
vim.fn.fnameescape(vim.fs.root(0, ".git") or vim.fn.getcwd()),
}
end,
get_prefix = opts.get_prefix or function(_)
Expand Down

0 comments on commit d46aaf8

Please sign in to comment.