mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-09 04:15:02 +02:00
perf: disable mini.anitmate in grug-far buffers
This commit is contained in:
parent
5adec47431
commit
d58e4c4f89
1 changed files with 7 additions and 0 deletions
|
@ -14,6 +14,13 @@ return {
|
||||||
end, { expr = true })
|
end, { expr = true })
|
||||||
end
|
end
|
||||||
|
|
||||||
|
vim.api.nvim_create_autocmd("FileType", {
|
||||||
|
pattern = "grug-far",
|
||||||
|
callback = function()
|
||||||
|
vim.b.minianimate_disable = true
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
|
||||||
LazyVim.toggle.map("<leader>ua", {
|
LazyVim.toggle.map("<leader>ua", {
|
||||||
name = "Mini Animate",
|
name = "Mini Animate",
|
||||||
get = function()
|
get = function()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue