AutoYADM commit: 2024-12-04 17:45:04
This commit is contained in:
parent
48a7adc5f4
commit
0ab055d780
3 changed files with 125 additions and 125 deletions
|
@ -1,24 +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,
|
||||
},
|
||||
},
|
||||
-- "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,
|
||||
-- },
|
||||
-- },
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue