mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
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:
@ -33,3 +33,13 @@ certs, rather than reject them silently."
|
|||||||
:when (featurep! :completion company)
|
:when (featurep! :completion company)
|
||||||
:after restclient
|
:after restclient
|
||||||
:config (set-company-backend! 'restclient-mode 'company-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")
|
(package! restclient :pin "9e2cfa86529133eba6c9ef53794be182f15e4c21")
|
||||||
(when (featurep! :completion company)
|
(when (featurep! :completion company)
|
||||||
(package! company-restclient :pin "e5a3ec54edb44776738c13e13e34c85b3085277b"))
|
(package! company-restclient :pin "e5a3ec54edb44776738c13e13e34c85b3085277b"))
|
||||||
|
|
||||||
|
(when (featurep! +jq)
|
||||||
|
(package! jq-mode :pin "071c1c29bac30351ad338136f2b625e5601365cd")
|
||||||
|
(package! restclient-jq :pin "ae79e7dd283890072da69b8f48aeec1afd0d9442"))
|
||||||
|
Reference in New Issue
Block a user