AutoYADM commit: 2024-11-14 21:30:03
This commit is contained in:
parent
5f0ec23ecb
commit
9cc568c834
1 changed files with 24 additions and 0 deletions
|
@ -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,
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue