From 4fe5752a8df853040ba8c4bc3509ec9f0e282f3a Mon Sep 17 00:00:00 2001 From: Thayne McCombs Date: Sun, 22 Mar 2015 23:05:37 -0600 Subject: [PATCH] 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. --- modules/prelude-common-lisp.el | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/modules/prelude-common-lisp.el b/modules/prelude-common-lisp.el index 718a9e5..23efd03 100644 --- a/modules/prelude-common-lisp.el +++ b/modules/prelude-common-lisp.el @@ -60,8 +60,15 @@ ;; default to SBCL on Linux and Windows (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 '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" '(progn