Fix trouble config

This commit is contained in:
Andreas Tsouchlos 2024-06-06 01:50:46 +02:00
parent b6a2fa03c3
commit f9617088f8

View File

@ -39,17 +39,17 @@ return {
-- }) -- })
end, end,
config = function() config = function()
local trouble_provider = require("trouble.providers.telescope") local trouble_provider = require("trouble.sources.telescope")
local telescope = require("telescope") local telescope = require("telescope")
telescope.setup { telescope.setup {
defaults = { defaults = {
mappings = { mappings = {
i = { i = {
["<c-t>"] = trouble_provider.open_with_trouble ["<c-t>"] = trouble_provider.open
}, },
n = { n = {
["<c-t>"] = trouble_provider.open_with_trouble ["<c-t>"] = trouble_provider.open
} }
} }
} }