diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-15 00:04:37 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-01-15 00:04:37 +1300 |
commit | 6b7983966b58454198b758b831cd11662591387c (patch) | |
tree | 4e0129a6b7e51aa33f1a5e0350d4e7634c7719e1 | |
parent | Merge branch 'release/v4.10.0' into develop (diff) | |
download | dotfiles-6b7983966b58454198b758b831cd11662591387c.tar.gz dotfiles-6b7983966b58454198b758b831cd11662591387c.zip |
Add setting for p flag to Vim 'formatoptions'
-rw-r--r-- | vim/vimrc | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -113,6 +113,11 @@ 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*' |