diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-11 22:15:05 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-11 22:15:05 +0100 |
commit | c3c3158756ae074052b0db2a3e3a7ba192df5330 (patch) | |
tree | 79e1b820b5e86fce5f98573097e4457ec06f5881 /runtime | |
parent | 44a7db4ffdd11dafd345fd1c2c7b2509d01e3895 (diff) | |
download | vim-git-c3c3158756ae074052b0db2a3e3a7ba192df5330.tar.gz |
patch 8.1.0728: cannot avoid breaking after a single space.v8.1.0728
Problem: Cannot avoid breaking after a single space.
Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/change.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index ff0c44a66..bef750064 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1720,6 +1720,17 @@ j Where it makes sense, remove a comment leader when joining lines. For // in the list ~ Becomes: int i; // the index in the list ~ +p Don't break lines at single spaces that follow periods. This is + intended to complement 'joinspaces' and |cpo-J|, for prose with + sentences separated by two spaces. For example, with 'textwidth' set + to 28: > + Surely you're joking, Mr. Feynman! +< Becomes: > + Surely you're joking, + Mr. Feynman! +< Instead of: > + Surely you're joking, Mr. + Feynman! With 't' and 'c' you can specify when Vim performs auto-wrapping: |