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 request: allow text on the column #11

Closed
pjcj opened this issue Apr 24, 2023 · 3 comments
Closed

Feature request: allow text on the column #11

pjcj opened this issue Apr 24, 2023 · 3 comments

Comments

@pjcj
Copy link

pjcj commented Apr 24, 2023

It looks like the way you use columns is that the text must finish before the column. I like to allow text on the column but not beyond it. Do you think there could be an option to allow text on the column?

@Bekaboo
Copy link
Owner

Bekaboo commented Apr 24, 2023

This is possible by allowing users to pass a callback function to decide when the color should change, I will work on this when I have time.

@Hubro
Copy link

Hubro commented Apr 29, 2023

@pjcj Is it not an alternative to just set colorcolumn to n-1?

This plugin makes the colorcolumn gradually appear when you near it, but it's you who choose which column it should be rendered on.

EDIT: Oh, you probably mean because this plugin turns the column red when you reach it, which it shouldn't do if it's rendered on n-1. Got it!

@Bekaboo
Copy link
Owner

Bekaboo commented Apr 29, 2023

Implemented in commit 1c35515.

@Bekaboo Bekaboo closed this as completed Apr 29, 2023
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

3 participants