diff options
-rw-r--r-- | VERSION | 4 | ||||
-rw-r--r-- | vim/vimrc | 9 |
2 files changed, 10 insertions, 3 deletions
@@ -1,2 +1,2 @@ -tejr dotfiles v4.10.0 -Mon Jan 7 03:28:11 UTC 2019 +tejr dotfiles v4.11.0 +Mon Jan 14 11:06:26 UTC 2019 @@ -109,10 +109,17 @@ 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') + set formatoptions+=p +endif + " If available, use GNU grep niceties for searching if system('grep --version') =~# '^grep (GNU grep)' set grepprg=grep\ -HnRs\ --exclude='.git*' |