Skip to content

Commit

Permalink
Load scheme as a language in org-babel
Browse files Browse the repository at this point in the history
  • Loading branch information
augustfengd authored and smile13241324 committed May 29, 2023
1 parent a5a2e36 commit 0e66f7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions layers/+lang/scheme/packages.el
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
geiser
ggtags
counsel-gtags
org
(geiser-chez :toggle (memq 'chez scheme-implementations))
(geiser-chibi :toggle (memq 'chibi scheme-implementations))
(geiser-chicken :toggle (memq 'chicken scheme-implementations))
Expand Down Expand Up @@ -147,6 +148,10 @@
(defun scheme/post-init-counsel-gtags ()
(spacemacs/counsel-gtags-define-keys-for-mode 'scheme-mode))

(defun scheme/pre-init-org ()
(spacemacs|use-package-add-hook org
:post-config (add-to-list 'org-babel-load-languages '(scheme . t))))

(defun scheme/init-geiser-chez ()
(use-package geiser-chez
:defer t))
Expand Down

0 comments on commit 0e66f7a

Please sign in to comment.