feat: vim.loop -> vim.uv

This commit is contained in:
midischwarz12 2025-07-17 10:43:46 -05:00
commit 47dcff9d56
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ in {
-- Disable slow treesitter highlight for large files
function(lang, buf)
local max_filesize = 1000 * 1024 -- 1MB
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
local ok, stats = pcall(vim.uv.fs_stat, vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > max_filesize then
return true
end

View file

@ -39,7 +39,7 @@ in {
type = luaInline;
default = mkLuaInline ''
function()
return vim.loop.cwd()
return vim.uv.cwd()
end
'';
description = ''