From c9843bb6ba3aecf21ddd012bf15b7f08c96081e9 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 30 Apr 2023 09:34:38 +0300 Subject: emacs: Add rainbow-del for lisp-mode --- .emacs.d/init.el | 2 ++ org/emacs.org | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 13a2be9..f1257c9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -568,6 +568,8 @@ Contains the list of packages that need to be installed.") :config (setq slime-company-completion 'fuzzy slime-company-after-completion 'slime-company-just-one-space)) +(add-hook 'lisp-mode-hook #'rainbow-delimiters-mode) + (defun apollo/lsp-mode-setup () (setq lsp-headerline-breadcrumb-segments '(path-up-to-project file symbols)) (lsp-headerline-breadcrumb-mode)) diff --git a/org/emacs.org b/org/emacs.org index acf7447..abb6b9f 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -643,6 +643,8 @@ Hook with ~dired-mode~ :after (slime company) :config (setq slime-company-completion 'fuzzy slime-company-after-completion 'slime-company-just-one-space)) + + (add-hook 'lisp-mode-hook #'rainbow-delimiters-mode) #+end_src ** LSP #+begin_src emacs-lisp -- cgit v1.2.3