diff --git a/lua/astrocommunity/diagnostics/trouble-nvim/init.lua b/lua/astrocommunity/diagnostics/trouble-nvim/init.lua index 348e5b621..ecb713a79 100644 --- a/lua/astrocommunity/diagnostics/trouble-nvim/init.lua +++ b/lua/astrocommunity/diagnostics/trouble-nvim/init.lua @@ -51,6 +51,27 @@ return { table.insert(opts.bottom, "Trouble") end, }, + { + "folke/snacks.nvim", + optional = true, + opts = function(_, opts) + return vim.tbl_deep_extend("force", opts or {}, { + picker = { + actions = require("trouble.sources.snacks").actions, + win = { + input = { + keys = { + [""] = { + "trouble_open", + mode = { "n", "i" }, + }, + }, + }, + }, + }, + }) + end, + }, { "catppuccin", optional = true,