zen-mode.nvim icon indicating copy to clipboard operation
zen-mode.nvim copied to clipboard

`window.width` not quite matching the `col` setting

Open evantravers opened this issue 4 years ago • 2 comments

I've got my colorcolumn set to 80, and window.width set to 80 and the resulting window doesn't line up.

I'm going to do some more robust testing, but I think that the width calculation doesn't include the linenumber column… on files with 100+ lines, it's off by three characters.

evantravers avatar Jul 08 '21 16:07 evantravers

This sounds like expected behavior to me. If I configure the Zen window width to be 80 columns, I wouldn't expect it to fit a 80 line-length file + line numbers + gutter symbols. Why not just set it to something like 90 instead? :slightly_smiling_face:

Hubro avatar Apr 11 '22 22:04 Hubro