open with trouble hotkey

This commit is contained in:
Markus Dieckmann 2023-03-14 16:52:36 +01:00
parent 99761650d0
commit 8f3a41bd44
1 changed files with 5 additions and 0 deletions

View File

@ -1,6 +1,11 @@
require('telescope').load_extension('lsp_handlers')
local trouble = require('trouble.providers.telescope')
require('telescope').setup({
defaults={
mappings={
i = { ["<c-t>"] = trouble.open_with_trouble },
n = { ["<c-t>"] = trouble.open_with_trouble },
},
path_display={"smart"},
},
pickers={