comparison src/option.h @ 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 6ee344fcb472
children 62b3805506b3
comparison
equal deleted inserted replaced
15439:ffcd5473738f 15440:5ecac7734184
99 #define FO_MBYTE_JOIN2 'B' /* no space between multi-byte chars */ 99 #define FO_MBYTE_JOIN2 'B' /* no space between multi-byte chars */
100 #define FO_ONE_LETTER '1' 100 #define FO_ONE_LETTER '1'
101 #define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */ 101 #define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */
102 #define FO_AUTO 'a' /* automatic formatting */ 102 #define FO_AUTO 'a' /* automatic formatting */
103 #define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */ 103 #define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */
104 #define FO_PERIOD_ABBR 'p' /* don't break a single space after a period */
104 105
105 #define DFLT_FO_VI "vt" 106 #define DFLT_FO_VI "vt"
106 #define DFLT_FO_VIM "tcq" 107 #define DFLT_FO_VIM "tcq"
107 #define FO_ALL "tcroq2vlb1mMBn,awj" /* for do_set() */ 108 #define FO_ALL "tcroq2vlb1mMBn,awjp" /* for do_set() */
108 109
109 /* characters for the p_cpo option: */ 110 /* characters for the p_cpo option: */
110 #define CPO_ALTREAD 'a' /* ":read" sets alternate file name */ 111 #define CPO_ALTREAD 'a' /* ":read" sets alternate file name */
111 #define CPO_ALTWRITE 'A' /* ":write" sets alternate file name */ 112 #define CPO_ALTWRITE 'A' /* ":write" sets alternate file name */
112 #define CPO_BAR 'b' /* "\|" ends a mapping */ 113 #define CPO_BAR 'b' /* "\|" ends a mapping */