mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add module-rest (restclient)
This commit is contained in:
4
Cask
4
Cask
@ -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")
|
||||
|
1
init.el
1
init.el
@ -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
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
|
Reference in New Issue
Block a user