From 8ad2f8c9afb308e7a8a1133f578e3352442f770a Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sun, 24 Sep 2023 01:12:42 +0200 Subject: Restructure plugin configs --- fnl/plugins/editor/trouble.fnl | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'fnl/plugins/editor/trouble.fnl') diff --git a/fnl/plugins/editor/trouble.fnl b/fnl/plugins/editor/trouble.fnl index f0996fd..b9a4e3c 100644 --- a/fnl/plugins/editor/trouble.fnl +++ b/fnl/plugins/editor/trouble.fnl @@ -1,5 +1,9 @@ ;; Pretty diagnostics. +(local keys [{1 :jt + 2 "TroubleToggle workspace_diagnostics" + :desc :Trouble}]) + (local opts {:position :bottom ; position of the list can be: bottom, top, left, right :height 10 @@ -70,9 +74,4 @@ ;; for the given modes, automatically jump if there is only a single result :use_diagnostic_signs true}) -{1 :folke/trouble.nvim - :cmd [:TroubleToggle :Trouble] - : opts - :keys [{1 :jt - 2 "TroubleToggle workspace_diagnostics" - :desc :Trouble}]} +{1 :folke/trouble.nvim :cmd [:TroubleToggle :Trouble] : opts : keys} -- cgit v1.2.3-70-g09d2