Skip to content

Commit

Permalink
fix: incorrect path separator of "../" on Windows (#325)
Browse files Browse the repository at this point in the history
  • Loading branch information
futsuuu authored Nov 4, 2023
1 parent 6e51d0c commit 57ceec4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/telescope/_extensions/file_browser/make_entry.lua
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ local make_entry = function(opts)
local path_display = utils.transform_path(opts, tail)
if is_dir then
if entry.value == parent_dir then
path_display = "../"
path_display = string.format("..%s", os_sep)
else
if path_display:sub(-1, -1) ~= os_sep then
path_display = string.format("%s%s", path_display, os_sep)
Expand Down

0 comments on commit 57ceec4

Please sign in to comment.