diff --git a/docs-preview-1014/options.html b/docs-preview-1014/options.html index 66b7153a..ded8dc15 100644 --- a/docs-preview-1014/options.html +++ b/docs-preview-1014/options.html @@ -32569,7 +32569,7 @@ luaInline
_type = "lua-inline"; expr = '' function() - return vim.loop.cwd() + return vim.uv.cwd() end ''; } @@ -40874,7 +40874,7 @@ syntax errors within your Neovim configuration.Example:
-- 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