When I start plain vim and run :set ruler linebreak cc=50, I get
This is as expected, colorcolumn is occupying the col number 50.
When I resize the terminal so that the linebreak option because active and cc overflows to the next line, I get
The colorcolumn is now two characters earlier, and the "s" where it was originally has coordinate 1,50-52. "r" has coordinate 1,48-50 and that's I guess why it was selected as colorcolumn.
I didn't find anything in the docs about this behavior. Would it be possible to instead use the smallest number of the column coordinate interval such that colorcolumn is consistent w.r.t resizing? Is this a bug or a feature?
Similar problem arrises with e.g. :set breakindent cc=50 as well as :set showbreak=> cc=50
I would expect the colorcolumn to be at the original location
9.1, Included patches: 1-754
MacOS 15.7
wezterm
wezterm
fish
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
Could you check the latest version?
image.png (view on web)—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()