Skip to content

Commit

Permalink
feat: display box styles while matching parens
Browse files Browse the repository at this point in the history
Remove underlines, and display as VSCode
  • Loading branch information
seagle0128 committed Dec 16, 2024
1 parent 295b833 commit 8f40865
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lisp/init-highlight.el
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,11 @@
;; Highlight matching parens
(use-package paren
:ensure nil
:custom-face (show-paren-match ((t (:underline t))))
:custom-face
(show-paren-match ((((class color) (background light))
(:box (:line-width (-1 . -1) :color "gray70")))
(((class color) (background dark))
(:box (:line-width (-1 . -1) :color "gray50")))))
:hook (after-init . show-paren-mode)
:init (setq show-paren-when-point-inside-paren t
show-paren-when-point-in-periphery t)
Expand Down

0 comments on commit 8f40865

Please sign in to comment.