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:
parent
49ef0fa8dd
commit
92a5c28687
2 changed files with 14 additions and 0 deletions
|
@ -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)
|
||||
|
|
|
@ -4,3 +4,7 @@
|
|||
(package! restclient :pin "9e2cfa86529133eba6c9ef53794be182f15e4c21")
|
||||
(when (featurep! :completion company)
|
||||
(package! company-restclient :pin "e5a3ec54edb44776738c13e13e34c85b3085277b"))
|
||||
|
||||
(when (featurep! +jq)
|
||||
(package! jq-mode :pin "071c1c29bac30351ad338136f2b625e5601365cd")
|
||||
(package! restclient-jq :pin "ae79e7dd283890072da69b8f48aeec1afd0d9442"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue