nvim: run stylua

This commit is contained in:
Primrose 2025-07-08 13:39:02 +02:00
parent 3f5e236fe5
commit e91471432f
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
7 changed files with 28 additions and 11 deletions

View file

@ -22,7 +22,9 @@ require("nvim-treesitter.configs").setup {
disable = function(lang, buf)
local max_filesize = 100 * 1024 -- 100 KB
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
if ok and stats and stats.size > max_filesize then
return true
end
end,
indent = true,