Skip to content

Commit 3d092f8

Browse files
chore(build): auto-generate docs
1 parent a475698 commit 3d092f8

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

docs/extras/editor/snacks_picker.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,11 @@ opts = function(_, opts)
159159
if LazyVim.has("trouble.nvim") then
160160
return vim.tbl_deep_extend("force", opts or {}, {
161161
picker = {
162-
actions = require("trouble.sources.snacks").actions,
162+
actions = {
163+
trouble_open = function(...)
164+
return require("trouble.sources.snacks").actions.trouble_open.action(...)
165+
end,
166+
},
163167
win = {
164168
input = {
165169
keys = {
@@ -188,7 +192,11 @@ end
188192
if LazyVim.has("trouble.nvim") then
189193
return vim.tbl_deep_extend("force", opts or {}, {
190194
picker = {
191-
actions = require("trouble.sources.snacks").actions,
195+
actions = {
196+
trouble_open = function(...)
197+
return require("trouble.sources.snacks").actions.trouble_open.action(...)
198+
end,
199+
},
192200
win = {
193201
input = {
194202
keys = {

0 commit comments

Comments
 (0)