bugfix: path

This commit is contained in:
Jason Miller 2024-11-17 20:38:50 -05:00
parent 73a5429f2f
commit 845a08e9f0
1 changed files with 3 additions and 3 deletions

View File

@ -9,11 +9,11 @@ local function nvim_ver(major, minor)
end
-- fs_stat moves based on version :(
local fs_stat = function()
local fs_stat = function(path)
if nvim_ver(0, 10) then
return vim.uv.fs_stat
return vim.uv.fs_stat(path)
end
return vim.loop.fs_stat
return vim.loop.fs_stat(path)
end
-- Margins