AutoYADM commit: 2024-11-22 02:18:15

This commit is contained in:
Daniel Fichtinger 2024-11-22 02:18:15 -05:00
parent 5f24f10427
commit 9745c8159f
38 changed files with 1122 additions and 1687 deletions

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.cmd("set conceallevel=0")
vim.cmd("TSBufDisable highlight")
vim.opt_local.foldenable = false
vim.cmd("NoMatchParen")
vim.opt_local.cursorline = false
vim.opt_local.signcolumn = "no"
vim.opt_local.spell = false
vim.schedule(function()
vim.bo[ctx.buf].syntax = ctx.ft
end)
end,
},
},
}