mirror of
https://github.com/doomemacs/doomemacs
synced 2025-09-08 15:23:35 -05:00
lang/org: add ob-ammonite
This commit is contained in:
@@ -248,7 +248,13 @@ background (and foreground) match the current theme."
|
|||||||
:override #'org-babel-do-load-languages
|
:override #'org-babel-do-load-languages
|
||||||
(message
|
(message
|
||||||
(concat "`org-babel-do-load-languages' is redundant with Doom's lazy loading mechanism for babel "
|
(concat "`org-babel-do-load-languages' is redundant with Doom's lazy loading mechanism for babel "
|
||||||
"packages. There is no need to use it, so it has been disabled"))))
|
"packages. There is no need to use it, so it has been disabled")))
|
||||||
|
|
||||||
|
(when (featurep! :lang scala)
|
||||||
|
(add-hook! '+org-babel-load-functions
|
||||||
|
(defun +org-babel-load-ammonite-h (lang)
|
||||||
|
(and (eq lang 'scala)
|
||||||
|
(require 'ob-ammonite nil t))))))
|
||||||
|
|
||||||
|
|
||||||
(defun +org-init-capture-defaults-h ()
|
(defun +org-init-capture-defaults-h ()
|
||||||
|
@@ -72,6 +72,8 @@
|
|||||||
(package! ob-restclient))
|
(package! ob-restclient))
|
||||||
(when (featurep! :lang rust)
|
(when (featurep! :lang rust)
|
||||||
(package! ob-rust))
|
(package! ob-rust))
|
||||||
|
(when (featurep! :lang scala)
|
||||||
|
(package! ob-ammonite))
|
||||||
|
|
||||||
;;; Export
|
;;; Export
|
||||||
(when (featurep! +pandoc)
|
(when (featurep! +pandoc)
|
||||||
|
Reference in New Issue
Block a user