Skip to content

Conversation

@langford
Copy link

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.

pixelastic and others added 10 commits January 3, 2014 10:04
Bolding parentheses makes it easier to see and distinguish
between the rainbow colors.
Add option to bold parentheses, defaulting to on
Hopefully they still make sense on more powerful terminals as well (they
*should*) but the old order had several in a row which degenerated into just
"red".
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, and so on

The behavior this replaces is to roll back from the end of the list, with odd
truncation stuff happening with the max trimming, making it completely
unpredictable what color will be where for certain size lists

This patch makes it so the first item in the list (['brown',
'RoyalBlue3'] in pairs) is the top level scope in the file, and so on.
@eapache
Copy link

eapache commented Oct 29, 2014

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.

Conflicts:
	autoload/rainbow_parentheses.vim
@robert-claypool
Copy link

@eapache, I submitted #16 before seeing that your fork is more active.

@eapache
Copy link

eapache commented Jun 14, 2017

Happy to accept if you resubmit to my repo.

@robert-claypool
Copy link

@eapache, done! Sorry for the delay... eapache#8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants