kickstart.nvim/lua/plugins/snack.lua

33 lines
1.1 KiB
Lua
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

return {
{
'folke/snacks.nvim',
priority = 1000,
lazy = false,
---@type snacks.Config
opts = {
bigfile = { enabled = true },
explorer = { enabled = true },
indent = { enabled = true },
input = { enabled = true },
picker = { enabled = true },
notifier = { enabled = true },
quickfile = { enabled = true },
scope = { enabled = true },
-- scroll = { enabled = true },
statuscolumn = { enabled = true },
words = { enabled = true },
image = {
enabled = true, -- force enable even if terminal isn't fully supported
backend = "magick", -- fallback backend for images
diagnostics = true, -- keep this on so you can see setup issues
auto_preview = false, -- if you dont want inline previews on hover
view = "image", -- can be "image", "ascii", or "none"
max_height = 30, -- in rows
max_width = 50, -- in columns
use_dither = false, -- optional: enable dithered rendering
},
},
},
}