Closed ghost closed 6 years ago
I think this is what you want?
(use-package highlight-parentheses
:init
(add-hook 'clojure-mode-hook 'highlight-parentheses-mode)
(add-hook 'emacs-lisp-mode-hook 'highlight-parentheses-mode))
Should i delete the old code and replace it with this? I'm using emacs to write common lisp. Sorry about all these questions but i'm a newbie.
Parinfer is designed to provide parens inference. If you want paren inspection, the package highlight-parentheses does it.
(use-package highlight-parentheses
:init
(add-hook 'common-lisp-mode-hook 'highlight-parentheses-mode))
Additional adding this should work.
Thank you very much Tianshu. I'll try it and get back to you tomorrow
Ok Tianshu, you were right. I tried and it works.
It's not quite useful though. I'm trying to find the package used to inspect the parens in https://shaunlebron.github.io/parinfer/#editor-plugins
github presentation. It's the one that working also in Atom editor when you install Atom-Slime and Parinfer.
Do you have any more info about this?
Thank you.
@nicon-git Hi, I have no experience with other parentheses highlighting plugins.
There's a lot plugins can provide you all kinds of features, you have to explore by yourself:)
Hi! I manage to emulate the behavior i wanted, from within emacs. So, it's ok.
Thank you very much for your help1
nicon
I just install Parinfer for Emacs and i can’t find out how set on the inspection of parens. You know, the little underscore and the background color to the closing (or opening) paren that indicates a pair of parens around an expression. Although in ATOM it works fine and without any special instructions, in Emacs is not working at all.
The lines added in .emacs file are as follows: