diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-24 21:22:33 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-08-24 21:22:33 +0200 |
commit | 0a5708a66a5ecf6143054ca22fb17c9c81fb1736 (patch) | |
tree | 4e3c66cfdc0a78e238b18fbbefe6bd5212325972 | |
parent | 9c6e38cea3ce66a3e4c3d27c625bb4193fdb297a (diff) |
Update rest plugin
-rw-r--r-- | fnl/plugins/rest.fnl | 27 |
1 files changed, 13 insertions, 14 deletions
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 [[:<localleader>rr - "<cmd>Rest run<cr>" - "Run request under the cursor"] - [:<localleader>rs - "<cmd>Rest run last<cr>" - "Re-run last request"] - [:<localleader>rt - "<cmd>Telescope rest select_env theme=dropdown<cr>" - "Select env"]]) +(local keys [{1 :<leader>rr + 2 "<cmd>Rest run<cr>" + :desc "Run request under the cursor"} + {1 :<localleader>rs + 2 "<cmd>Rest run last<cr>" + :desc "Re-run last request"} + {1 :<localleader>rt + 2 "<cmd>Telescope rest select_env theme=dropdown<cr>" + :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}]} |