fix(trouble-v3): fix telescope integration

This commit is contained in:
Folke Lemaitre
2024-04-22 10:00:48 +02:00
parent 0fa63603af
commit 9da13ef7e8

View File

@ -90,4 +90,22 @@ return {
end
end,
},
{
"nvim-telescope/telescope.nvim",
optional = true,
opts = function(_, opts)
local open_with_trouble = require("trouble.sources.telescope").open
return vim.tbl_deep_extend("force", opts, {
defaults = {
mappings = {
i = {
["<c-t>"] = open_with_trouble,
["<a-t>"] = open_with_trouble,
},
},
},
})
end,
},
}