feat(bigfile): disable mini-hipatterns (#2170)

## Description

The `mini.hipatterns` plugin causes slowdowns on big files. It's a great
candidate for disabling along with `mini.animate`.

## Related Issue(s)

<!--
  If this PR fixes any issues, please link to the issue here.
  - Fixes #<issue_number>
-->

## Screenshots

<!-- Add screenshots of the changes if applicable. -->
This commit is contained in:
yilisharcs 2025-10-19 05:40:36 -03:00 committed by GitHub
parent 1fee799ad6
commit 3d4dd13d2e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,6 +21,7 @@ local defaults = {
end
Snacks.util.wo(0, { foldmethod = "manual", statuscolumn = "", conceallevel = 0 })
vim.b.minianimate_disable = true
vim.b.minihipatterns_disable = true
vim.schedule(function()
if vim.api.nvim_buf_is_valid(ctx.buf) then
vim.bo[ctx.buf].syntax = ctx.ft