From a5e14d7b46e95af4f6c04810f22daa5dd8feb108 Mon Sep 17 00:00:00 2001 From: Michael Harris Date: Wed, 4 Mar 2015 13:47:17 -0500 Subject: [PATCH] puts a wrapper around colorcolumn so there are no errors in older versions of vim --- plugin/superman.vim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugin/superman.vim b/plugin/superman.vim index 6570a2e..8bd1b4c 100644 --- a/plugin/superman.vim +++ b/plugin/superman.vim @@ -35,7 +35,9 @@ function! superman#SuperMan(...) setlocal softtabstop=8 setlocal shiftwidth=8 setlocal nolist - setlocal colorcolumn=0 + if exists('+colorcolumn') + setlocal colorcolumn=0 + endif " To make us behave more like less noremap q :q