From dfe730b889915e33af1d3da810b13aa9d1d4253c Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Fri, 16 Aug 2024 09:37:25 +0200 Subject: feat: Sync --- lua/gabrielgio/trouble.lua | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'lua/gabrielgio/trouble.lua') diff --git a/lua/gabrielgio/trouble.lua b/lua/gabrielgio/trouble.lua index 67c4938..f48fec4 100644 --- a/lua/gabrielgio/trouble.lua +++ b/lua/gabrielgio/trouble.lua @@ -1,15 +1,18 @@ +local key = require("gabrielgio.key") local trouble = require("trouble") trouble.setup{ - fold_open = "v", - fold_closed = ">", - signs = { - error = "error", - warning = "warn", - hint = "hint", - information = "info" + modes = { + test = { + mode = "diagnostics", + preview = { + type = "split", + relative = "win", + position = "right", + size = 0.3, + }, + }, }, - indent_lines = false, - icons = false, - use_diagnostic_signs = false } + +key.nnoremap("t", ":Trouble test toggle") -- cgit v1.2.3