diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-15 00:04:58 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-15 00:04:58 +1300 |
commit | ac178362e6cdfabb4cd648d6c3ca83f5229c2610 (patch) | |
tree | ba248ce68bdd8848c0c311355a55ccf8face5980 | |
parent | Add setting for p flag to Vim 'formatoptions' (diff) | |
download | dotfiles-ac178362e6cdfabb4cd648d6c3ca83f5229c2610.tar.gz dotfiles-ac178362e6cdfabb4cd648d6c3ca83f5229c2610.zip |
Break up some long conditions for readability
-rw-r--r-- | vim/vimrc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |