We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b587545 commit d56c691Copy full SHA for d56c691
lua/orgmode/utils/fs.lua
@@ -54,7 +54,7 @@ function M.trim_common_root(paths)
54
end)
55
56
local result = {}
57
- local root = vim.pesc(vim.fn.fnamemodify(filepaths[1], ':h')) .. '/'
+ local root = vim.fn.fnamemodify(filepaths[1], ':h') .. '/'
58
59
for _, path in ipairs(paths) do
60
local relative_path = path:sub(#root + 1)
0 commit comments