Skip to content

Commit

Permalink
feat: Add ob-lean4 for literate programming with org/lean4
Browse files Browse the repository at this point in the history
  • Loading branch information
Maverobot committed Dec 28, 2023
1 parent f703c8a commit 75694ba
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,6 @@
[submodule "private/whisper.el"]
path = private/whisper.el
url = https://github.com/natrys/whisper.el
[submodule "private/ob-lean4"]
path = private/ob-lean4
url = https://github.com/Maverobot/ob-lean4.git
1 change: 1 addition & 0 deletions private/ob-lean4
Submodule ob-lean4 added at e2216a
6 changes: 6 additions & 0 deletions spacemacs.org
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,12 @@ E.g. when visiting a soft/hard link.
(message "No active region is found.")))
(spacemacs/set-leader-keys-for-major-mode 'org-mode "RR" 'replace-markdown-region-with-org)
#+END_SRC
*** ob-lean4
#+BEGIN_SRC emacs-lisp :tangle user-config.el
(use-package ob-lean4
:load-path "~/.spacemacs.d/private/ob-lean4")
(add-to-list 'org-babel-load-languages '(lean4 . t))
#+END_SRC

** Utility
*** beacon mode
Expand Down

0 comments on commit 75694ba

Please sign in to comment.