aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-01-15 00:04:58 +1300
committerTom Ryder <tom@sanctum.geek.nz>2019-01-15 00:04:58 +1300
commitac178362e6cdfabb4cd648d6c3ca83f5229c2610 (patch)
treeba248ce68bdd8848c0c311355a55ccf8face5980
parent6b7983966b58454198b758b831cd11662591387c (diff)
downloaddotfiles-ac178362e6cdfabb4cd648d6c3ca83f5229c2610.tar.gz
Break up some long conditions for readability
-rw-r--r--vim/vimrc6
1 files changed, 4 insertions, 2 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 0fe80a58..d3a814f2 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -109,12 +109,14 @@ if has('folding')
endif
" Delete comment leaders when joining lines, if supported
-if v:version > 703 || v:version == 703 && has('patch541')
+if v:version > 703
+ \ || v:version == 703 && has('patch541')
set formatoptions+=j
endif
" Don't break a single space after a period, if supported
-if v:version > 801 || v:version == 801 && has('patch728')
+if v:version > 801
+ \ || v:version == 801 && has('patch728')
set formatoptions+=p
endif