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