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