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