Does not behave correctly in Neovim nightly
Closed this issue · 3 comments
sjclayton commented
Color column will appear when crossing the configured column number, but then if you modify/delete text so it's less than the configured number, the color column stays visible when it should disappear.
ctrlplusb commented
Confirming the same, and adding that once it has been triggered to appear in one buffer it appears in all subsequent buffers.
VladimirBeliakov commented
Looks like the problem is here
smartcolumn.nvim/lua/smartcolumn.lua
Line 79 in a52915d
Changing that to
vim.wo[win].colorcolumn = '0'
solves the problem.
m4xshen commented
@VladimirBeliakov Thanks, the latest version should work now!