Bekaboo/deadcolumn.nvim

Feature request: allow text on the column

pjcj opened this issue · 3 comments

pjcj commented

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?

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 commented

@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!

Implemented in commit 1c35515.