We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e6feff commit 92c859eCopy full SHA for 92c859e
lua/astrocommunity/search/grug-far-nvim/init.lua
@@ -46,7 +46,7 @@ return {
46
}
47
maps.n[prefix .. "f"] = {
48
function()
49
- local filter = require("astrocore.buffer").is_valid() and vim.fn.expand "%" or nil
+ local filter = require("astrocore.buffer").is_valid() and vim.fn.fnameescape(vim.fn.expand "%") or nil
50
grug_far_open { prefills = { paths = filter } }
51
end,
52
desc = "Search/Replace file",
0 commit comments