config.nvim/lua/plugins/telescope.lua
Ryan 5efca0c97c Add trouble
Signed-off-by: Ryan <ryan@alien.gov>
2023-11-28 11:10:12 +08:00

13 lines
293 B
Lua

local trouble = require("trouble.providers.telescope")
require('telescope').setup {
defaults = { layout_strategy = 'vertical',
layout_config = { height = 0.95 },
mappings = {
i = { ["<c-t>"] = trouble.open_with_trouble },
n = { ["<c-t>"] = trouble.open_with_trouble },
},
},
}