diff options
Diffstat (limited to 'fnl/plugins/rest.fnl')
-rw-r--r-- | fnl/plugins/rest.fnl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/fnl/plugins/rest.fnl b/fnl/plugins/rest.fnl new file mode 100644 index 0000000..6d6f555 --- /dev/null +++ b/fnl/plugins/rest.fnl @@ -0,0 +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"]]) + +{1 :rest-nvim/rest.nvim + :ft :http + :dependencies [{1 :vhyrro/luarocks.nvim :priority 1000 :config true}] + :config (lambda [] + (let [rest-nvim (require :rest-nvim)] + (rest-nvim.setup {: keybinds})))} |