Last active
June 2, 2025 20:41
-
-
Save ahmed1hsn/af1e0bd2bb7cf2421a906e8ca160876b to your computer and use it in GitHub Desktop.
.dir-locals.el file for quickly starting emacs inf-clojure babashka socket repl => (C-c C-z or M-x inf-clojure)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ((nil . | |
| ((inf-clojure-custom-startup . "bb socket-repl 1666") | |
| (inf-clojure-custom-repl-type . babashka)))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (use-package inf-clojure | |
| :config | |
| (add-hook 'clojure-mode-hook #'inf-clojure-minor-mode) | |
| (setq inf-clojure-auto-mode nil) ;; necessary, otherwise we receive errors on C-c C-z commands (or even inf-clojure command) | |
| ) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NOTE: empty
bb.ednfile needs to be preset in the root of the project forinf-clojureto start.