comparison runtime/doc/change.txt @ 15440:5ecac7734184 v8.1.0728

patch 8.1.0728: cannot avoid breaking after a single space. commit https://github.com/vim/vim/commit/c3c3158756ae074052b0db2a3e3a7ba192df5330 Author: Bram Moolenaar <Bram@vim.org> Date: Fri Jan 11 22:15:05 2019 +0100 patch 8.1.0728: cannot avoid breaking after a single space. Problem: Cannot avoid breaking after a single space. Solution: Add the 'p' flag to 'formatoptions'. (Tom Ryder)
author Bram Moolenaar <Bram@vim.org>
date Fri, 11 Jan 2019 22:30:06 +0100
parents 8b334e4cb97f
children 314694a2e74a
comparison
equal deleted inserted replaced
15439:ffcd5473738f 15440:5ecac7734184
1718 example, joining: 1718 example, joining:
1719 int i; // the index ~ 1719 int i; // the index ~
1720 // in the list ~ 1720 // in the list ~
1721 Becomes: 1721 Becomes:
1722 int i; // the index in the list ~ 1722 int i; // the index in the list ~
1723 p Don't break lines at single spaces that follow periods. This is
1724 intended to complement 'joinspaces' and |cpo-J|, for prose with
1725 sentences separated by two spaces. For example, with 'textwidth' set
1726 to 28: >
1727 Surely you're joking, Mr. Feynman!
1728 < Becomes: >
1729 Surely you're joking,
1730 Mr. Feynman!
1731 < Instead of: >
1732 Surely you're joking, Mr.
1733 Feynman!
1723 1734
1724 1735
1725 With 't' and 'c' you can specify when Vim performs auto-wrapping: 1736 With 't' and 'c' you can specify when Vim performs auto-wrapping:
1726 value action ~ 1737 value action ~
1727 "" no automatic formatting (you can use "gq" for manual formatting) 1738 "" no automatic formatting (you can use "gq" for manual formatting)