mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-06-01 10:35:35 +00:00
fix absolute path
This commit is contained in:
@@ -450,6 +450,10 @@ function make_entry.gen_from_vimgrep_json(opts)
|
||||
end
|
||||
|
||||
if k == "path" then
|
||||
local path = Path:new(t.filename)
|
||||
if path:is_absolute() then
|
||||
return t.filename
|
||||
end
|
||||
return Path:new({ cwd, t.filename }):absolute()
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user