fixup: stylua
This commit is contained in:
@@ -278,13 +278,14 @@ utils.is_path_hidden = function(opts, path_display)
|
|||||||
or path_display.hidden
|
or path_display.hidden
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
local is_uri = function(filename)
|
local is_uri = function(filename)
|
||||||
return string.match(filename, "^%w+://") ~= nil
|
return string.match(filename, "^%w+://") ~= nil
|
||||||
end
|
end
|
||||||
|
|
||||||
utils.transform_path = function(opts, path)
|
utils.transform_path = function(opts, path)
|
||||||
if is_uri(path) then return path end
|
if is_uri(path) then
|
||||||
|
return path
|
||||||
|
end
|
||||||
|
|
||||||
local path_display = utils.get_default(opts.path_display, require("telescope.config").values.path_display)
|
local path_display = utils.get_default(opts.path_display, require("telescope.config").values.path_display)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user