Skip to content

Commit

Permalink
Prefer Boot to Leiningen for REPLs.
Browse files Browse the repository at this point in the history
FossilOrigin-Name: 06b73a3dd2b44552581e067c285362c133b10691
  • Loading branch information
jaccarmac committed Nov 18, 2015
1 parent 0b8d007 commit a860602
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 4 additions & 2 deletions dot-emacs-dot-d.org
Original file line number Diff line number Diff line change
Expand Up @@ -256,14 +256,16 @@ Now, for some code.

CIDER is, in my opinion, the best way to edit Clojure in Emacs, bar
none. Loading is done in the standard quelpa way; The configuration options
are taken from CIDER's GitHub page.
are taken from CIDER's GitHub page. I prefer Boot over Leiningen, so I set
Boot as my default REPL.

#+NAME: cider
#+BEGIN_SRC emacs-lisp
(quse-package cider
:init (progn
(add-hook 'cider-mode-hook 'cider-turn-on-eldoc-mode)
(setq cider-repl-tab-command 'indent-for-tab-command)))
(setq cider-repl-tab-command 'indent-for-tab-command)
(setq cider-default-repl-command "boot")))
#+END_SRC

CIDER can be integrated with Auto-Complete painlessly by using the ac-cider
Expand Down
3 changes: 2 additions & 1 deletion init.el
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,8 @@
(quse-package cider
:init (progn
(add-hook 'cider-mode-hook 'cider-turn-on-eldoc-mode)
(setq cider-repl-tab-command 'indent-for-tab-command)))
(setq cider-repl-tab-command 'indent-for-tab-command)
(setq cider-default-repl-command "boot")))

(quse-package ac-cider
:init (progn (add-hook 'cider-mode-hook 'ac-cider-setup)
Expand Down

0 comments on commit a860602

Please sign in to comment.