In emacs, there is a mode show-paren-modethat colors the opposite matching bracket when the cursor is on another. I wrote an example explaining show-paren-mode:
( <-colored colored-> )| <-cursor
However, this does not work when the cursor is not in the parenthesis:
( <-not colored cursor inside->| not colored ->)
How can I enable this? I find that when doing slurpage and barfage in paredit, I cannot track the parentheses very well because they are not colored if I am not on them.
( <-colored cursor->| colored-> ) This is optimal
Edit: thanks to the comment from @lawlist, I solved this problem.
source
share