editorconfig / editorconfig-vim

EditorConfig plugin for Vim
http://editorconfig.org
Other
3.13k stars 137 forks source link

Consider preserving user's colorcolum setting? #158

Closed knghtbrd closed 1 year ago

knghtbrd commented 3 years ago

Could we maybe set colorcolumn+= rather than colorcolumn= when max_line_length is set? I have other uses for mine besides marking a margin line.

cxw42 commented 3 years ago

Sounds reasonable to me --- pull requests welcome! :)

avahe-kellenberger commented 3 years ago

Yes, please. This is very strange to see

xuhdev commented 3 years ago

Could you explain what this is for?

kmoschcau commented 3 years ago

I just ran into this as well. Another thing you might want to consider is to not set it to a hard value, but to set it to +1 instead. This will just set the colorcolumn to one column further than 'textwidth' has already been set.

cxw42 commented 1 year ago

Fixed by #164