Auto confirm = false on some Snacks pickers

This commit is contained in:
Vaclav Uruba 2025-06-16 04:58:27 -06:00
parent 510e31d28c
commit b411b481f6
Signed by: uruba
GPG Key ID: 9D8E987C4B2E1E9C

View File

@ -325,21 +325,27 @@ return {
{ {
"gd", "gd",
function() function()
Snacks.picker.lsp_definitions() Snacks.picker.lsp_definitions({
auto_confirm = false,
})
end, end,
desc = "Goto Definition", desc = "Goto Definition",
}, },
{ {
"gD", "gD",
function() function()
Snacks.picker.lsp_declarations() Snacks.picker.lsp_declarations({
auto_confirm = false,
})
end, end,
desc = "Goto Declaration", desc = "Goto Declaration",
}, },
{ {
"gr", "gr",
function() function()
Snacks.picker.lsp_references() Snacks.picker.lsp_references({
auto_confirm = false,
})
end, end,
nowait = true, nowait = true,
desc = "References", desc = "References",
@ -347,14 +353,18 @@ return {
{ {
"gI", "gI",
function() function()
Snacks.picker.lsp_implementations() Snacks.picker.lsp_implementations({
auto_confirm = false,
})
end, end,
desc = "Goto Implementation", desc = "Goto Implementation",
}, },
{ {
"gy", "gy",
function() function()
Snacks.picker.lsp_type_definitions() Snacks.picker.lsp_type_definitions({
auto_confirm = false,
})
end, end,
desc = "Goto T[y]pe Definition", desc = "Goto T[y]pe Definition",
}, },