Add module-rest (restclient)

This commit is contained in:
Henrik Lissner 2016-05-24 22:12:19 -04:00
parent ec9c12e17e
commit 2052fbba1c
3 changed files with 17 additions and 0 deletions

4
Cask
View file

@ -217,6 +217,10 @@
(depends-on "nose")
(depends-on "pip-requirements")
;; REST -- modules/module-rest.el
(depends-on "restclient")
(depends-on "company-restclient")
;; Ruby -- modules/module-ruby.el
(depends-on "company-inf-ruby")
(depends-on "inf-ruby")

View file

@ -70,6 +70,7 @@
module-php ; making php less painful to work with
module-processing ; pretty prototypes
module-python ; beautiful is better than ugly
module-rest ; GET /a/life?please=1&top=cherry
module-ruby ; 1.step do {|i| p "Ruby is #{i&1==0?'love':'life'}"}
module-rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
module-scala ; Java, but good

12
modules/module-rest.el Normal file
View file

@ -0,0 +1,12 @@
;;; module-rest.el
(use-package restclient
:commands restclient-mode
:mode ("\\.http$" . restclient-mode)
:config (def-popup! "*HTTP Response*" :size 25))
(use-package company-restclient
:after restclient)
(provide 'module-rest)
;;; module-rest.el ends here