Skip to content

Commit 845a08e

Browse files
committed
bugfix: path
1 parent 73a5429 commit 845a08e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ local function nvim_ver(major, minor)
99
end
1010

1111
-- fs_stat moves based on version :(
12-
local fs_stat = function()
12+
local fs_stat = function(path)
1313
if nvim_ver(0, 10) then
14-
return vim.uv.fs_stat
14+
return vim.uv.fs_stat(path)
1515
end
16-
return vim.loop.fs_stat
16+
return vim.loop.fs_stat(path)
1717
end
1818

1919
-- Margins

0 commit comments

Comments
 (0)