AutoYADM commit: 2024-11-14 21:30:03

This commit is contained in:
Daniel Fichtinger 2024-11-14 21:30:03 -05:00
parent 5f0ec23ecb
commit 9cc568c834

View file

@ -0,0 +1,24 @@
return {
"folke/snacks.nvim",
priority = 1000,
opts = {
bigfile = {
notify = true,
size = 1.5 * 1024 * 1024, -- 1.5MB
---@param ctx {buf: number, ft:string}
setup = function(ctx)
vim.b.minianimate_disable = true
vim.schedule(function()
vim.bo[ctx.buf].syntax = ctx.ft
vim.cmd("TSBufDisable highlight")
vim.opt_local.foldenable = false
vim.cmd("set conceallevel=0")
vim.cmd("NoMatchParen")
vim.opt_local.cursorline = false
vim.opt_local.signcolumn = "no"
vim.opt_local.spell = false
end)
end,
},
},
}