1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2025-04-09 17:29:48 +00:00
Daniel Carrillo 6408d33eea
[neovim] Add MCPHub integration
Enhance snacks plugin configuration by adding:
- MCPHub integration with dedicated menu entry
- Explorer configuration for picker with hidden and ignored files
  enabled
2025-04-05 17:35:11 +02:00

52 lines
1.2 KiB
Lua

require("snacks").setup({
animate = {},
bigfile = {},
explorer = {},
picker = {
sources = {
explorer = {
hidden = true,
ignored = true,
},
},
},
indent = {
indent = { char = "" },
scope = { char = "" },
},
scroll = {},
gitbrowse = {},
image = {},
dashboard = {
sections = {
{ section = "header" },
{ icon = "", desc = "Projects", action = ":Telescope neovim-project", key = "p", padding = 1 },
{ icon = "", key = "n", desc = "New File", action = ":ene | startinsert" },
{
icon = "",
desc = "Recent Files",
action = ":lua Snacks.dashboard.pick('oldfiles')",
key = "r",
},
{ icon = "", key = "q", desc = "Quit", action = ":qa", padding = 1 },
{ icon = "", title = "Config" },
{
icon = "󰒲",
desc = "Lazy",
action = ":Lazy",
enabled = package.loaded.lazy ~= nil,
key = "l",
indent = 2,
},
{ icon = "󰐻", desc = "MCPHub", action = ":MCPHub", key = "h", indent = 2 },
{ icon = "", desc = "Mason", action = ":Mason", key = "m", indent = 2 },
{ icon = "", desc = "Tree-sitter", action = ":TSUpdate", key = "t", indent = 2, padding = 2 },
{ section = "startup" },
},
},
})