mirror of
https://github.com/zoriya/telescope.nvim.git
synced 2026-05-25 07:34:03 +00:00
fix: Do not transform URIs
This commit is contained in:
@@ -278,7 +278,14 @@ utils.is_path_hidden = function(opts, path_display)
|
||||
or path_display.hidden
|
||||
end
|
||||
|
||||
|
||||
local is_uri = function(filename)
|
||||
return string.match(filename, "^%w+://") ~= nil
|
||||
end
|
||||
|
||||
utils.transform_path = function(opts, path)
|
||||
if is_uri(path) then return path end
|
||||
|
||||
local path_display = utils.get_default(opts.path_display, require("telescope.config").values.path_display)
|
||||
|
||||
local transformed_path = path
|
||||
|
||||
Reference in New Issue
Block a user