feat(rest): add +jq flag

Adds support for setting variables from results using jq expressions.

Ref: https://github.com/pashky/restclient.el
Ref: https://github.com/ljos/jq-mode
Close: #5238
This commit is contained in:
Henrik Lissner 2022-06-19 14:56:04 +02:00
parent 49ef0fa8dd
commit 92a5c28687
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
2 changed files with 14 additions and 0 deletions

View file

@ -33,3 +33,13 @@ certs, rather than reject them silently."
:when (featurep! :completion company)
:after restclient
:config (set-company-backend! 'restclient-mode 'company-restclient))
(use-package! restclient-jq
:when (featurep! +jq)
:after restclient)
(use-package! jq-mode
:when (featurep! +jq)
:after restclient-jq)