about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2023-02-02 08:23:23 +0000
committerDavid Morgan <djm_uk@protonmail.com>2023-02-02 08:23:23 +0000
commit660f61d068ff2f1426c2972144a31455123e8e4a (patch)
treedd8dc1dd80aafc67c081377caba9b45e1d9727ab /.emacs.d
parent3382598069d3fa059de056fd3d02b3d8696dbb60 (diff)
downloaddotfiles-660f61d068ff2f1426c2972144a31455123e8e4a.tar.gz
Add highlight-sexp
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-ui.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-ui.el b/.emacs.d/lisp/init-ui.el
index c180195..8567590 100644
--- a/.emacs.d/lisp/init-ui.el
+++ b/.emacs.d/lisp/init-ui.el
@@ -163,5 +163,12 @@
     (set-syntax-table emacs-lisp-mode-syntax-table)
     (smartparens-strict-mode)))
 
+(use-package highlight-sexp
+  :diminish
+  :custom (hl-sexp-background-color "grey10") ;; grey25 grey30 DarkBlue navy MidnightBlue DarkSlateBlue
+  :hook
+  (emacs-lisp-mode . highlight-sexp-mode)
+  (clojure-mode . highlight-sexp-mode))
+
 (provide 'init-ui)
 ;;; init-ui.el ends here