aboutsummaryrefslogtreecommitdiff
path: root/lua/gabrielgio/trouble.lua
blob: 9249c07ef5741728f60cec602c9a3968d9959ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
local key = require("gabrielgio.key")
local trouble = require("trouble")

trouble.setup({
	modes = {
		test = {
			mode = "diagnostics",
			preview = {
				type = "split",
				relative = "win",
				position = "right",
				size = 0.3,
			},
		},
	},
})

key.nnoremap("<leader>t", ":Trouble test toggle<cr>")