Skip to content

Commit b260bc7

Browse files
committed
Add devcontainer bringup to snacks.dashboard
1 parent 5d36c85 commit b260bc7

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

config/nvim/lua/plugins/snacks.lua

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
return {
2+
{
3+
"folke/snacks.nvim",
4+
opts = function(_, opts)
5+
local keys = opts.dashboard.preset.keys
6+
opts.dashboard.preset.keys[#keys + 1] = {
7+
action = "<CMD>lua require('devcontainer-cli.devcontainer_cli').up()<CR>",
8+
desc = " Bringup Devcontainer",
9+
icon = LazyVim.config.icons.kinds.Package,
10+
key = "D",
11+
}
12+
13+
return opts
14+
end,
15+
},
16+
}

0 commit comments

Comments
 (0)