kickstart.nvim/lua/plugins/trouble.lua

29 lines
549 B
Lua

return {
{
'folke/trouble.nvim',
opts = {
use_diagnostic_signs = true,
signs = {
-- icons / text used for a diagnostic
error = '',
warning = '',
hint = '',
information = '',
other = '',
},
modes = {
test = {
mode = 'diagnostics',
preview = {
relative = 'win',
type = 'split',
position = 'right',
size = 0.3,
},
},
},
},
cmd = 'Trouble',
},
}