mirror of
https://github.com/folke/snacks.nvim
synced 2025-12-23 08:47:57 +00:00
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:
parent
1fee799ad6
commit
3d4dd13d2e
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue