Skip to content

Commit d56c691

Browse files
fix(refile): remove unnecessary escaping for refile autocompletion
Fixes #877
1 parent b587545 commit d56c691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/utils/fs.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ function M.trim_common_root(paths)
5454
end)
5555

5656
local result = {}
57-
local root = vim.pesc(vim.fn.fnamemodify(filepaths[1], ':h')) .. '/'
57+
local root = vim.fn.fnamemodify(filepaths[1], ':h') .. '/'
5858

5959
for _, path in ipairs(paths) do
6060
local relative_path = path:sub(#root + 1)

0 commit comments

Comments
 (0)