Closed anntzer closed 7 years ago
There was a discussion on reddit about this, recently, see here. I would also be interested in using a good rainbow-parantheses plugin that only highlights actually surrounding parantheses, and think this would be a very good addition to this plugin.
@lervag https://github.com/bounceme/poppy.vim (which was published after I started the reddit thread) works very well for me. I use the colors of https://github.com/losingkeys/vim-niji, which are quite flashy, but much more visible (and that's sort of the point...) than the rest of my preferred colorscheme (zenburn), which is very low contrast. I also use the mapping given in the README.
Glad to hear that you found the solution. I personally don't need it and have no plan to work on it, so let me close the issue.
emacs' highlight-parentheses (https://www.emacswiki.org/emacs/HighlightParentheses) only color-highlights all pairs of delimiters that are surrounding the current cursor position, using different colors for different levels. Would it be possible to provide a similar behavior in this plugin?
(As far as I can see there is no plugin that provides this behavior for vim right now; the closest I have found is https://github.com/justinmk/vim-matchparenalways, which only highlights the closest surrounding pair.)
Thanks in advance.