mirror of
https://github.com/LazyVim/starter.git
synced 2026-07-22 12:31:04 +00:00
task: Added snacks nvim
This commit is contained in:
parent
5b5b0d4fa7
commit
c4952f9837
1 changed files with 33 additions and 0 deletions
|
|
@ -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 = {},
|
||||
},
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue