feat(nvim): Use non-lazyvim dashboard header

This commit is contained in:
histalek 2025-01-18 16:09:12 +01:00
parent 7b113e4196
commit 58e231ef78
Signed by: histalek
SSH key fingerprint: SHA256:6a6N2Wzk73nwURUHC/ubbCyqdB6yfie0Jv/NGvRcsIE

View file

@ -1,6 +1,6 @@
return {
"folke/snacks.nvim",
dependencies = { "echasnovski/mini.icons", "nvim-tree/nvim-web-devicons"},
dependencies = { "echasnovski/mini.icons", "nvim-tree/nvim-web-devicons" },
priority = 1000,
lazy = false,
---@type snacks.Config
@ -16,15 +16,23 @@ return {
dashboard = {
preset = {
header = [[
Z
Z
z
z
]],
]],
-- stylua: ignore
---@type snacks.dashboard.Item[]
keys = {
{ icon = "", key = "f", desc = "Find File", action = ":lua Snacks.dashboard.pick('files')" },
{ icon = "", key = "n", desc = "New File", action = ":ene | startinsert" },