1local key = require("gabrielgio.key")
2local trouble = require("trouble")
3
4trouble.setup{
5 modes = {
6 test = {
7 mode = "diagnostics",
8 preview = {
9 type = "split",
10 relative = "win",
11 position = "right",
12 size = 0.3,
13 },
14 },
15 },
16}
17
18key.nnoremap("<leader>t", ":Trouble test toggle<cr>")