fix: expand terminal path
This commit is contained in:
parent
1c953a3eac
commit
20e4ff1838
1 changed files with 1 additions and 1 deletions
|
|
@ -192,7 +192,7 @@ M.get_buffer_parent_url = function(bufname)
|
|||
else
|
||||
-- TODO maybe we should remove this special case and turn it into a config
|
||||
if scheme == "term://" then
|
||||
path = path:match("^(.*)//")
|
||||
path = vim.fn.expand(path:match("^(.*)//"))
|
||||
return config.adapter_to_scheme.files .. util.addslash(path)
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue