Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Spectrum/Sequence of Colors #76

Open
unenglishable opened this issue Sep 9, 2014 · 7 comments
Open

[Feature] Spectrum/Sequence of Colors #76

unenglishable opened this issue Sep 9, 2014 · 7 comments

Comments

@unenglishable
Copy link

It would be interesting to use a (definable) sequence of colors as opposed to just Even/Odd.

Line:
1, 2, 3, 4, 5, etc.

Color:
1, 2, 3, 4, 5, etc (mod Color length)

I'm not sure how to implement this, but if anyone has any ideas, I'll try it out and put in a pull request if it turns out well.

@mikrofusion
Copy link

👍 this feature would be awesome.

@chrisfishwood
Copy link

👍

@rafaelrinaldi
Copy link

I really like the idea. 👍 for this!

@sagax
Copy link

sagax commented Oct 13, 2015

me to

@fvosberg
Copy link

Rainbow for the win! 👍

@phatsk
Copy link

phatsk commented Jun 19, 2020

I'm going to throw my hat in here and say this would be great. An idea would be to have "palettes" that the user could configure. Example:

" Set of 'solar' guide colors; e.g. red, yellow, orange
let g:indent_guides_palette = "solar" 
let g:indent_guides_palette = "monochrome_dark" 
let g:indent_guides_palette = "monochrome_light"

" Let users specify a list of colors
let g:indent_guides_palette = {'c93bac', 'a01070', '930054'} 

@alerque
Copy link
Member

alerque commented Feb 21, 2023

I personally don't think it is a great idea to hard code some specific color scheme or schemes into this plugin, but I would be willing to facilitate a PR if somebody wanted to make it more configurable. In particular the color selector could be changed to either use a lookup table (with a modus for overflow handling) that the user could provide to match their preferences or it could just be a hook function that gets used if set. Then people could return colors however they want programmatically.

I'm unlikely to work on this myself but will facilitate a PR if somebody works something up.

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

No branches or pull requests

8 participants