How to include rainbow parentheses in SLIME?

I start with Emacs and Common Lisp. I successfully installed SLIME in my Emacs, but noticed that it does not have rainbow parentheses (which is a surprise). How to enable this feature? Thanks in advance.

+5
source share
1 answer

There's a rainbow separator mode on emacswiki that might suit you - otherwise there is also a bunch of other appearance packages there.


Update: this worked for me.
This is probably not so convenient for beginners. I had 20 years of on-off use to help me forget what a complete Emacs newbie is like ...

, .emacs. C-x C-f [visit-buffer], ~/.emacs, Enter .

elisp.
"~/.emacs.d/" load-path, .
, .

rainbow-delimiters.el. elisp .
M-x byte-compile-file, Return, rainbow-delimiters.el( ).

.emacs:

(require 'rainbow-delimiters)
(add-hook 'slime-repl-mode-hook 'rainbow-delimiters-mode)

(C-x C-s) .

( " " - (, , ), , Emacs .).

Emacs , C-x C-e [eval-last-sexp] ( "* " * ").

M-x slime .

; : M-x customize-apropos ( Return), rainbow ( Return).

.

, (C-h t), . Emacs , (C-h i) , ", " .

+7
source

All Articles