perf: disable mini.anitmate in grug-far buffers

This commit is contained in:
Folke Lemaitre 2024-07-20 17:02:39 +02:00
parent 5adec47431
commit d58e4c4f89
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -14,6 +14,13 @@ return {
end, { expr = true })
end
vim.api.nvim_create_autocmd("FileType", {
pattern = "grug-far",
callback = function()
vim.b.minianimate_disable = true
end,
})
LazyVim.toggle.map("<leader>ua", {
name = "Mini Animate",
get = function()