rainbow_parentheses.vim icon indicating copy to clipboard operation
rainbow_parentheses.vim copied to clipboard

Read the color pairs in top to bottom order, instead of prior complicated manner

Open langford opened this issue 9 years ago • 4 comments

samplecolorsetup oldbehaviorvisualization newbehaviorvisualization

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.

langford avatar Oct 29 '14 15:10 langford

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 avatar Oct 29 '14 18:10 eapache

@eapache, I submitted https://github.com/kien/rainbow_parentheses.vim/pull/16 before seeing that your fork is more active.

robert-claypool avatar Jun 14 '17 20:06 robert-claypool

Happy to accept if you resubmit to my repo.

eapache avatar Jun 14 '17 20:06 eapache

@eapache, done! Sorry for the delay... https://github.com/eapache/rainbow_parentheses.vim/pull/8

robert-claypool avatar Oct 18 '17 15:10 robert-claypool