Add module-rest (restclient)
This commit is contained in:
parent
ec9c12e17e
commit
2052fbba1c
3 changed files with 17 additions and 0 deletions
4
Cask
4
Cask
|
@ -217,6 +217,10 @@
|
||||||
(depends-on "nose")
|
(depends-on "nose")
|
||||||
(depends-on "pip-requirements")
|
(depends-on "pip-requirements")
|
||||||
|
|
||||||
|
;; REST -- modules/module-rest.el
|
||||||
|
(depends-on "restclient")
|
||||||
|
(depends-on "company-restclient")
|
||||||
|
|
||||||
;; Ruby -- modules/module-ruby.el
|
;; Ruby -- modules/module-ruby.el
|
||||||
(depends-on "company-inf-ruby")
|
(depends-on "company-inf-ruby")
|
||||||
(depends-on "inf-ruby")
|
(depends-on "inf-ruby")
|
||||||
|
|
1
init.el
1
init.el
|
@ -70,6 +70,7 @@
|
||||||
module-php ; making php less painful to work with
|
module-php ; making php less painful to work with
|
||||||
module-processing ; pretty prototypes
|
module-processing ; pretty prototypes
|
||||||
module-python ; beautiful is better than ugly
|
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-ruby ; 1.step do {|i| p "Ruby is #{i&1==0?'love':'life'}"}
|
||||||
module-rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
module-rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap()
|
||||||
module-scala ; Java, but good
|
module-scala ; Java, but good
|
||||||
|
|
12
modules/module-rest.el
Normal file
12
modules/module-rest.el
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue