restclient: lazy load ob-http
This commit is contained in:
parent
8e897f6b7b
commit
9e6c2e4775
|
@ -13,13 +13,14 @@
|
|||
restclient))
|
||||
|
||||
(defun restclient/init-ob-http ()
|
||||
(spacemacs|use-package-add-hook org
|
||||
:post-config
|
||||
(use-package ob-http
|
||||
:init
|
||||
(progn
|
||||
(when restclient-use-org
|
||||
(add-to-list 'auto-mode-alist '("\\.http\\'" . org-mode)))
|
||||
(spacemacs|use-package-add-hook org
|
||||
:post-config (add-to-list 'org-babel-load-languages '(http . t))))))
|
||||
(add-to-list 'org-babel-load-languages '(http . t))))))
|
||||
|
||||
(defun restclient/init-restclient ()
|
||||
(use-package restclient
|
||||
|
|
Loading…
Reference in a new issue