Skip to content

Commit 04cc47f

Browse files
Prefer vim.uv over vim.loop
1 parent e96f40d commit 04cc47f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/render-markdown/ui.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ end
5555
---@return number
5656
M.file_size_mb = function()
5757
local ok, stats = pcall(function()
58-
return vim.loop.fs_stat(vim.api.nvim_buf_get_name(0))
58+
return vim.uv.fs_stat(vim.api.nvim_buf_get_name(0))
5959
end)
6060
if not (ok and stats) then
6161
return 0

0 commit comments

Comments
 (0)