m4xshen/smartcolumn.nvim

Colorcolumn does not color subsequent "columns" when `wrap` is true

Closed this issue · 1 comments

For windows where wrap is true, the colorcolumn is not properly highlighted for subsequent "columns" on the same line. Below is a screenshot:

image

To fix this, one needs to set colorcolumn to multiples of of colorcolumn + screen_width - gutter_width.

I just found that this is the default behavior of Neovim, so I prefer to not change this.