From 3986ab171ff3e784932a87840e7e8463774f5b19 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 25 Mar 2024 20:36:00 +0100 Subject: Add rest plugin --- fnl/plugins/rest.fnl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 fnl/plugins/rest.fnl (limited to 'fnl/plugins/rest.fnl') 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 [[: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"]]) + +{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})))} -- cgit v1.2.3-70-g09d2