feat: Add paren package configuration
show-paren-context-when-offscreen is handy to indicate when we are offscreen for a block of code
This commit is contained in:
parent
28b6168110
commit
980ce6750b
1 changed files with 12 additions and 0 deletions
12
config.org
12
config.org
|
|
@ -704,6 +704,18 @@ https://github.com/victorhge/iedit
|
||||||
:hook (prog-mode-hook . electric-pair-mode))
|
:hook (prog-mode-hook . electric-pair-mode))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
** Paren
|
||||||
|
|
||||||
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
(use-package paren
|
||||||
|
:ensure nil
|
||||||
|
:hook (after-init-hook . show-paren-mode)
|
||||||
|
:custom
|
||||||
|
(show-paren-delay 0)
|
||||||
|
(show-paren-style 'mixed)
|
||||||
|
(show-paren-context-when-offscreen t)) ;; show matches within window splits
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
** Eglot
|
** Eglot
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue