Fix trouble config
This commit is contained in:
parent
b6a2fa03c3
commit
f9617088f8
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user