mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-21 00:25:50 +02:00
perf(snacks_picker): lazy-load trouble open action
This commit is contained in:
parent
3500d6a826
commit
1a4d948e0d
1 changed files with 5 additions and 1 deletions
|
@ -110,7 +110,11 @@ return {
|
|||
if LazyVim.has("trouble.nvim") then
|
||||
return vim.tbl_deep_extend("force", opts or {}, {
|
||||
picker = {
|
||||
actions = require("trouble.sources.snacks").actions,
|
||||
actions = {
|
||||
trouble_open = function(...)
|
||||
return require("trouble.sources.snacks").actions.trouble_open.action(...)
|
||||
end,
|
||||
},
|
||||
win = {
|
||||
input = {
|
||||
keys = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue