fix(marks): preserve uri filenames with path_expand (#3029)

This commit is contained in:
gzbfgjf2
2024-04-05 02:03:48 +01:00
committed by GitHub
parent 4626aaa2bc
commit d26b666b45
3 changed files with 25 additions and 1 deletions

View File

@@ -39,6 +39,10 @@ utils.path_expand = function(path)
path = { path, { "string" } },
}
if utils.is_uri(path) then
return path
end
if path:match "^[%%#<]" then
path = vim.fn.expand(path)
end