diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-24 01:12:42 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2023-09-24 01:12:42 +0200 |
commit | 8ad2f8c9afb308e7a8a1133f578e3352442f770a (patch) | |
tree | a7a05ed7c472f186d6380dd918e2318d6d951330 /fnl/plugins/editor/trouble.fnl | |
parent | fd69ec549594d53b9503212d93a9a44f10eef478 (diff) |
Restructure plugin configs
Diffstat (limited to 'fnl/plugins/editor/trouble.fnl')
-rw-r--r-- | fnl/plugins/editor/trouble.fnl | 11 |
1 files changed, 5 insertions, 6 deletions
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 :<leader>jt + 2 "<cmd>TroubleToggle workspace_diagnostics<cr>" + :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 :<leader>jt - 2 "<cmd>TroubleToggle workspace_diagnostics<cr>" - :desc :Trouble}]} +{1 :folke/trouble.nvim :cmd [:TroubleToggle :Trouble] : opts : keys} |