Fix trouble config
This commit is contained in:
parent
b6a2fa03c3
commit
f9617088f8
@ -39,17 +39,17 @@ return {
|
||||
-- })
|
||||
end,
|
||||
config = function()
|
||||
local trouble_provider = require("trouble.providers.telescope")
|
||||
local trouble_provider = require("trouble.sources.telescope")
|
||||
local telescope = require("telescope")
|
||||
|
||||
telescope.setup {
|
||||
defaults = {
|
||||
mappings = {
|
||||
i = {
|
||||
["<c-t>"] = trouble_provider.open_with_trouble
|
||||
["<c-t>"] = trouble_provider.open
|
||||
},
|
||||
n = {
|
||||
["<c-t>"] = trouble_provider.open_with_trouble
|
||||
["<c-t>"] = trouble_provider.open
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user