Merge pull request #1014 from midischwarz12/uv
Some checks are pending
Set up binary cache / cachix (default) (push) Waiting to run
Set up binary cache / cachix (maximal) (push) Waiting to run
Set up binary cache / cachix (nix) (push) Waiting to run
Treewide Checks / Validate flake (push) Waiting to run
Treewide Checks / Check formatting (push) Waiting to run
Treewide Checks / Check source tree for typos (push) Waiting to run
Treewide Checks / Validate documentation builds (push) Waiting to run
Treewide Checks / Validate hyperlinks in documentation sources (push) Waiting to run
Treewide Checks / Validate Editorconfig conformance (push) Waiting to run
Build and deploy documentation / Check latest commit (push) Waiting to run
Build and deploy documentation / publish (push) Blocked by required conditions

treewide: `vim.loop` -> `vim.uv`
This commit is contained in:
raf 2025-07-18 00:22:21 +03:00 committed by GitHub
commit 6b841d4b97
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -106,7 +106,7 @@ in {
-- Disable slow treesitter highlight for large files -- Disable slow treesitter highlight for large files
function(lang, buf) function(lang, buf)
local max_filesize = 1000 * 1024 -- 1MB 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 if ok and stats and stats.size > max_filesize then
return true return true
end end

View file

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