nix-conf/home/config/nvim/lua/plugins/snacks.lua
2025-03-04 23:43:21 +08:00

48 lines
2.1 KiB
Lua

return {
{
"folke/snacks.nvim",
opts = {
explorer = {
enabled = true,
},
image = {
enabled = true,
math = {
enabled = true,
},
},
picker = {
enabled = true,
sources = {
explorer = {
layout = { layout = { position = "right" } },
},
files = {
ignored = true,
},
git_files = {
untracked = true,
},
},
},
notifier = { enabled = true },
dashboard = {
enabled = true,
width = 60,
row = nil,
col = nil,
preset = {
header = [[
██████████ █████████ █████████ █████ █████ █████ █████ █████ █████
░░███░░░░███ ███░░░░░███ ███░░░░░███░░███ ░░███ ░░███ ░░███ ░░███ ░░███
░███ ░░███ ░███ ░███ ███ ░░░ ░███ ░███ ░░███ ███ ░░███ ███
░███ ░███ ░███████████ ░███ ░███████████ ░░█████ ░░█████
░███ ░███ ░███░░░░░███ ░███ ░███░░░░░███ ███░███ ░░███
░███ ███ ░███ ░███ ░░███ ███ ░███ ░███ ███ ░░███ ░███
██████████ █████ █████ ░░█████████ █████ █████ █████ █████ █████
░░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░ ░░░░░]],
},
},
},
},
}