rainbow_parentheses.vim
rainbow_parentheses.vim copied to clipboard
Read the color pairs in top to bottom order, instead of prior complicated manner
This makes it so both g:rbt_colorpairs in the user .vimrc and s:pairs in the autoload are easier to understand, with the highest level scope being the first entry, the 2nd level scope being the second entry, etc.
The behavior this replaces is complicated and probably unintended, being a mix of truncation from max, extension from max, and using the list backwards. Note, I did not effect the s:max code, just the color order.
This repo is, AFAICT, unmaintained. I am maintaining a fork at https://github.com/eapache/rainbow_parentheses.vim - if you resubmit the PR there I would be happy to take a look at it.
@eapache, I submitted https://github.com/kien/rainbow_parentheses.vim/pull/16 before seeing that your fork is more active.
Happy to accept if you resubmit to my repo.
@eapache, done! Sorry for the delay... https://github.com/eapache/rainbow_parentheses.vim/pull/8