1

Fix for windows

This commit is contained in:
Alex Yatskov 2022-10-19 08:31:11 -07:00
parent 7e6d996a9d
commit caaab4c95e

View File

@ -32,7 +32,7 @@ local function hflip()
for i = 1, #exts - 1 do for i = 1, #exts - 1 do
local j = (i + ext_index - 1) % #exts + 1 local j = (i + ext_index - 1) % #exts + 1
local next_path = name .. exts[j] local next_path = name .. exts[j]
if file_exists(next_path) then if path ~= next_path and file_exists(next_path) then
vim.cmd(string.format('e %s', next_path)) vim.cmd(string.format('e %s', next_path))
break break
end end