task: Added snacks nvim

This commit is contained in:
Viorel Binciu 2025-01-15 09:36:19 +02:00
parent 5b5b0d4fa7
commit c4952f9837
No known key found for this signature in database
GPG key ID: AC875EA6A34E7770

View file

@ -41,4 +41,37 @@ return {
},
},
},
{
"folke/snacks.nvim",
priority = 1000,
lazy = false,
opts = {
dashboard = {
sections = {
{ section = "header" },
{ section = "keys", gap = 1, padding = 1 },
{ pane = 2, icon = "", title = "Recent Files", section = "recent_files", indent = 2, padding = 1 },
{ pane = 2, icon = "", title = "Projects", section = "projects", indent = 2, padding = 1 },
{
pane = 2,
icon = "",
title = "Git Status",
section = "terminal",
enabled = vim.fn.isdirectory(".git") == 1,
cmd = "hub status --short --branch --renames",
height = 5,
padding = 1,
ttl = 5 * 60,
indent = 3,
},
{ section = "startup" },
},
},
},
},
{
"folke/twilight.nvim",
opts = {},
},
}