nvim: use treesitter to indent if possible

This commit is contained in:
Primrose 2025-07-02 15:52:48 +02:00
parent 08a525a20b
commit 4661d3b255
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA

View file

@ -24,4 +24,6 @@ require("nvim-treesitter.configs").setup {
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
end,
indent = true,
}