Auto confirm = false on some Snacks pickers
This commit is contained in:
parent
510e31d28c
commit
b411b481f6
@ -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",
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user