preservim / vim-pencil

Rethinking Vim as a tool for writing
Other
1.58k stars 39 forks source link

Compatibility changes for vim 7.2 in colorcolumn #44

Closed noqqe closed 8 years ago

noqqe commented 8 years ago

When you have a vim 7.2 installation, pencil throws an error. Its more precise to check if a certiain feature is available on the system.

The error looks like:

screenshot 2016-06-09 11 41 02

To fix this, i changed only 2 if conditions.

reedes commented 8 years ago

Thanks for the contribution.

I'm not sure why I didn't use your approach, but it's been years since I wrote that code.