Skip to content

Commit 6daf7a5

Browse files
committed
Fix call to trouble from telescope
1 parent 53491aa commit 6daf7a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

nvim/lua/plugins/telescope-init.lua

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
local telescope = require("telescope")
2-
local trouble = require("trouble.providers.telescope")
2+
local trouble = require("trouble.sources.telescope")
33

44
local function link_hl_group(group, target)
55
vim.api.nvim_exec(string.format("hi! link %s %s", group, target), false)
@@ -29,8 +29,8 @@ telescope.setup({
2929
preview = { "", "", "", "", "", "", "", "" },
3030
},
3131
mappings = {
32-
n = { ["<C-T>"] = trouble.open_with_trouble },
33-
i = { ["<C-T>"] = trouble.open_with_trouble },
32+
n = { ["<C-T>"] = trouble.open },
33+
i = { ["<C-T>"] = trouble.open },
3434
},
3535
},
3636
pickers = {

0 commit comments

Comments
 (0)