1
0
mirror of https://github.com/dcarrillo/dotfiles.git synced 2026-04-26 20:21:35 +00:00

[neovim] Add opencode plugin

This commit is contained in:
2026-04-19 18:39:27 +02:00
parent 2b789b6eaa
commit fd31809826
4 changed files with 35 additions and 1 deletions
+13 -1
View File
@@ -9,6 +9,18 @@ require("snacks").setup({
ignored = true,
},
},
actions = {
opencode_send = function(...)
return require("opencode").snacks_picker_send(...)
end,
},
win = {
input = {
keys = {
["<a-a>"] = { "opencode_send", mode = { "n", "i" } },
},
},
},
},
indent = {
indent = { char = "" },
@@ -42,7 +54,7 @@ require("snacks").setup({
indent = 2,
},
{ icon = "", desc = "Mason", action = ":Mason", key = "m", indent = 2 },
-- { icon = "", desc = "Tree-sitter", action = ":TSUpdate", key = "t", indent = 2, padding = 2 },
{ icon = "", desc = "Tree-sitter", action = ":TSManager", key = "t", indent = 2, padding = 2 },
{ section = "startup" },
},