fix: expand/normalize paths more selectively (#2628)
This commit is contained in:
@@ -262,7 +262,7 @@ previewers.file_maker = function(filepath, bufnr, opts)
|
||||
end
|
||||
if opts.bufname ~= filepath then
|
||||
if not vim.in_fast_event() then
|
||||
filepath = vim.fn.expand(filepath)
|
||||
filepath = utils.path_expand(filepath)
|
||||
end
|
||||
vim.loop.fs_stat(filepath, function(_, stat)
|
||||
if not stat then
|
||||
|
||||
Reference in New Issue
Block a user