summaryrefslogtreecommitdiff
path: root/fnl/plugins/rest.fnl
blob: 7f02818e8f2e7ac94724336dae3b348b2c2c51cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;; 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 :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})))}