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

@@ -1117,7 +1117,7 @@ internal.marks = function(opts)
line = line,
lnum = lnum,
col = col,
filename = vim.fs.normalize(v.file or bufname),
filename = utils.path_expand(v.file or bufname),
}
-- non alphanumeric marks goes to last
if mark:match "%w" then