summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-04-30 09:34:38 +0300
committerThanos Apollo <[email protected]>2023-04-30 09:34:38 +0300
commitc9843bb6ba3aecf21ddd012bf15b7f08c96081e9 (patch)
tree47c3e0e3eed3fbb59d2a695406182747d52398f0
parent2ff3f4c2698f23a2ef6d89f21d18883f5384388b (diff)
emacs: Add rainbow-del for lisp-mode
-rw-r--r--.emacs.d/init.el2
-rwxr-xr-xorg/emacs.org2
2 files changed, 4 insertions, 0 deletions
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