try and make everything confined to 80chars

This commit is contained in:
2025-05-18 22:32:28 -04:00
parent d0155fcc7c
commit f9311db805
6 changed files with 38 additions and 20 deletions

View File

@ -48,7 +48,8 @@ return { "nvim-treesitter/nvim-treesitter",
-- disable in big files
-- TODO: update before nvim 1.0 when vim.loop is removed
local ok, stats = pcall(vim.loop.fs_stat, vim.api.nvim_buf_get_name(buf))
local ok, stats = pcall(vim.loop.fs_stat,
vim.api.nvim_buf_get_name(buf))
if ok and stats and stats.size > (1024 * 100 * 10) --[[1MB]] then
return true
end