For Emacs Users

Chiao edited this page Jun 9, 2015 · 2 revisions

In order for Emacs to recognise .boot files as valid Clojure source code, include the following in your .init file.

(add-to-list 'auto-mode-alist '("\\.boot\\'" . clojure-mode))

To recognize script files using shebang:

(add-to-list 'magic-mode-alist '(".* boot" . clojure-mode))
Clone this wiki locally
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.