From 0a5708a66a5ecf6143054ca22fb17c9c81fb1736 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Sat, 24 Aug 2024 21:22:33 +0200 Subject: Update rest plugin --- fnl/plugins/rest.fnl | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) (limited to 'fnl/plugins') diff --git a/fnl/plugins/rest.fnl b/fnl/plugins/rest.fnl index 7f02818..ec40481 100644 --- a/fnl/plugins/rest.fnl +++ b/fnl/plugins/rest.fnl @@ -1,19 +1,18 @@ ;; Http client. -(local keybinds [[:rr - "Rest run" - "Run request under the cursor"] - [:rs - "Rest run last" - "Re-run last request"] - [:rt - "Telescope rest select_env theme=dropdown" - "Select env"]]) +(local keys [{1 :rr + 2 "Rest run" + :desc "Run request under the cursor"} + {1 :rs + 2 "Rest run last" + :desc "Re-run last request"} + {1 :rt + 2 "Telescope rest select_env theme=dropdown" + :desc "Select env"}]) {1 :aktersnurra/rest.nvim - :branch :fix/getregtype :ft :http - :dependencies [{1 :vhyrro/luarocks.nvim :priority 1000 :config true}] - :config (λ [] - (let [rest-nvim (require :rest-nvim)] - (rest-nvim.setup {: keybinds})))} + : keys + :dev true + :dependencies [{1 :vhyrro/luarocks.nvim :priority 1000 :config true} + {1 :j-hui/fidget.nvim}]} -- cgit v1.2.3-70-g09d2