Improve slime repl

This enables the slime-fancy contribs for slime, and no longer enables
rainbow-delimiters for the slime repl.

rainbow-delimiters doesn't seem to work with the slime-repl anyway, and
messes up all of the other colors.
This commit is contained in:
Thayne McCombs 2015-03-22 23:05:37 -06:00
parent 5d25782b6d
commit 4fe5752a8d

View file

@ -60,8 +60,15 @@
;; default to SBCL on Linux and Windows ;; default to SBCL on Linux and Windows
(setq slime-default-lisp 'sbcl)) (setq slime-default-lisp 'sbcl))
;; Add fancy slime contribs
(setq slime-contribs '(slime-fancy))
(add-hook 'lisp-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook))) (add-hook 'lisp-mode-hook (lambda () (run-hooks 'prelude-lisp-coding-hook)))
(add-hook 'slime-repl-mode-hook (lambda () (run-hooks 'prelude-interactive-lisp-coding-hook))) ;; rainbow-delimeters messes up colors in slime-repl, and doesn't seem to work
;; anyway, so we won't use prelude-lisp-coding-defaults.
(add-hook 'slime-repl-mode-hook (lambda ()
(smartparens-strict-mode +1)
(whitespace-mode -1)))
(eval-after-load "slime" (eval-after-load "slime"
'(progn '(progn