AutoYADM commit: 2024-12-23 04:45:02
This commit is contained in:
parent
11aa98ab29
commit
8f091ec76e
1 changed files with 14 additions and 0 deletions
|
@ -4,6 +4,20 @@ return {
|
||||||
toggle = {
|
toggle = {
|
||||||
notify = false,
|
notify = false,
|
||||||
},
|
},
|
||||||
|
bigfile = {
|
||||||
|
notify = true, -- show notification when big file detected
|
||||||
|
size = 1.5 * 1024 * 1024, -- 1.5MB
|
||||||
|
-- Enable or disable features when big file detected
|
||||||
|
---@param ctx {buf: number, ft:string}
|
||||||
|
setup = function(ctx)
|
||||||
|
vim.cmd([[NoMatchParen]])
|
||||||
|
-- Snacks.util.wo(0, { foldmethod = "manual", statuscolumn = "", conceallevel = 0 })
|
||||||
|
-- vim.b.minianimate_disable = true
|
||||||
|
vim.schedule(function()
|
||||||
|
vim.bo[ctx.buf].syntax = ctx.ft
|
||||||
|
end)
|
||||||
|
end,
|
||||||
|
},
|
||||||
zen = {
|
zen = {
|
||||||
notify = false,
|
notify = false,
|
||||||
toggles = {
|
toggles = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue