lang/org: activate ob-ammonite on amm blocks

Instead of scala blocks.
This commit is contained in:
Henrik Lissner 2019-12-19 15:03:40 -05:00
parent a999a0ddd6
commit c81b8445c4
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

View file

@ -253,7 +253,7 @@ background (and foreground) match the current theme."
(when (featurep! :lang scala)
(add-hook! '+org-babel-load-functions
(defun +org-babel-load-ammonite-h (lang)
(and (eq lang 'scala)
(and (eq lang 'amm)
(require 'ob-ammonite nil t))))))