Files
kickstart/lua/clevertwain/plugins/snacks.lua
T
Archie Admin 50f98e80ee fixing snacks
2025-09-20 00:16:33 -04:00

54 lines
1.5 KiB
Lua

return {
'folke/snacks.nvim',
priority = 1000,
lazy = false,
---@type snacks.Config
opts = {
-- your configuration comes here
-- or leave it empty to use the default settings
-- refer to the configuration section below
bigfile = { enabled = true },
dashboard = {
sections = {
{ section = 'header' },
{ icon = '', title = 'Keymaps', section = 'keys', indent = 2, padding = 1 },
{ icon = '', title = 'Recent Files', section = 'recent_files', indent = 2, padding = 1 },
{ icon = '', title = 'Projects', section = 'projects', indent = 2, padding = 1 },
{ section = 'startup' },
},
},
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 },
terminal = { enabled = true },
words = { enabled = true },
zen = {
enabled = true,
toggles = {
dim = true,
git_signs = false,
diagnostics = false,
line_number = false,
relative_number = false,
signcolumn = 'no',
indent = false,
},
},
},
keys = function()
local snacks = require 'snacks'
return {
{
'<leader>oe',
snacks.picker.explorer,
},
}
end,
}