Skip to content

Commit 03af121

Browse files
committed
add: snacks setting
1 parent 7e730d9 commit 03af121

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

nvim/lua/plugins/specs/lsp/trouble.lua

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,26 @@ return {
88
},
99
},
1010
cmd = "Trouble",
11+
specs = {
12+
"folke/snacks.nvim",
13+
opts = function(_, opts)
14+
return vim.tbl_deep_extend("force", opts or {}, {
15+
picker = {
16+
actions = require("trouble.sources.snacks").actions,
17+
win = {
18+
input = {
19+
keys = {
20+
["<c-t>"] = {
21+
"trouble_open",
22+
mode = { "n", "i" },
23+
},
24+
},
25+
},
26+
},
27+
},
28+
})
29+
end,
30+
},
1131
keys = {
1232
{
1333
"<leader>xx",

0 commit comments

Comments
 (0)