fix for older vim

Fri, 30 Sep 2016 21:12:34 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 30 Sep 2016 21:12:34 -0400
changeset 398
15a173de64c4
parent 397
466b95c31b1e
child 399
eccd268e79e0

fix for older vim

.vimrc file | annotate | diff | comparison | revisions
--- a/.vimrc
+++ b/.vimrc
@@ -218,9 +218,14 @@ set expandtab
 set shiftwidth=2
 set softtabstop=2
 
-set formatoptions=cqljn1
+set formatoptions=cqln1
 set backspace=indent,eol,start
 
+if has('patch-7.3-541')
+  " Can unwrap this once I don't have to deal with ubuntu 12.04
+  set formatoptions+=j
+endif
+
 " set number
 set scrolloff=10
 set ruler

mercurial