dev: Improve displaying parenthesis
Add two modes `highlight-parentheses` and `rainbow-delimiters` to improve the readability when several level of parenthesis are involved.
This commit is contained in:
parent
8bb1b07590
commit
c69e7e43d8
1 changed files with 10 additions and 0 deletions
|
@ -10,6 +10,16 @@
|
|||
(add-hook 'lisp-interaction-mode-hook #'enable-paredit-mode)
|
||||
(add-hook 'scheme-mode-hook #'enable-paredit-mode))
|
||||
|
||||
(use-package highlight-parentheses
|
||||
:ensure t
|
||||
:config
|
||||
(global-highlight-parentheses-mode t))
|
||||
|
||||
(use-package rainbow-delimiters
|
||||
:ensure t
|
||||
:config
|
||||
(add-hook 'prog-mode-hook #'rainbow-delimiters-mode))
|
||||
|
||||
;; Hack to show only files known to git inside dired; needs the
|
||||
;; `git-find' shell script shim (taken from :open https://r0tty.org/git/dotfiles/emacs/tree/.emacs.d/config/development.el)
|
||||
(defun git-dired (dir)
|
||||
|
|
Loading…
Reference in a new issue