Skip to content

Commit d499677

Browse files
committed
test commit
1 parent 633ce43 commit d499677

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

lua/neoplen/path.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ function Path:new(...)
8080
end
8181
end
8282

83-
local pathsep = vim.fn.has "win32" == 1 and "\\" or "/"
84-
path_string = table.concat(path_objs, pathsep)
83+
path_string = table.concat(path_objs, "/")
8584
else
8685
assert(type(path_input) == "string", vim.inspect(path_input))
8786
path_string = path_input

lua/telescope/utils.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ utils.path_expand = function(path)
7070
end
7171

7272
utils.get_separator = function()
73-
return utils.is_win and "\\" or "/"
73+
return "/"
7474
end
7575

7676
utils.cycle = function(i, n)

tests/automated/telescope_spec.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ describe("telescope", function()
108108
describe("fzy", function()
109109
local sorter = require("telescope.sorters").get_fzy_sorter()
110110
local function score(prompt, line)
111-
line = new_path(line)
111+
line = line
112112
return sorter:score(prompt, { ordinal = line }, function(val)
113113
return val
114114
end, function()

0 commit comments

Comments
 (0)