Show-paren-mode - stay visible while inside brackets / brackets

Is there any custom modification that keeps curly braces highlighted all the time when the cursor is in two brackets?

The default behavior is to briefly select only brackets, and then it disappears when the cursor is inside curly braces.

+4
source share
3 answers

Take a look at Standby Halftone Mode , which does exactly what you ask for in this answer to Trey Jackson's comment.

Highlight Parentheses mode example

Colors are, of course, customizable.

+6
source

You can also take a look at hl-sexp (available on MELPA). This emphasizes the innermost sex that is inside, which makes it easy to notice the brackets.

current sexp highlighted

(rainbow limiters are also visible in this screenshot)

+2
source

I think the library of rainbow delimiters may be what you are looking for. You may need some tuning to get it to your taste.

+1
source

Source: https://habr.com/ru/post/1480585/


All Articles