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 /src/option.h | |
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 'src/option.h')
-rw-r--r-- | src/option.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/option.h b/src/option.h index cb25938e7..50fe380ed 100644 --- a/src/option.h +++ b/src/option.h @@ -101,10 +101,11 @@ #define FO_WHITE_PAR 'w' /* trailing white space continues paragr. */ #define FO_AUTO 'a' /* automatic formatting */ #define FO_REMOVE_COMS 'j' /* remove comment leaders when joining lines */ +#define FO_PERIOD_ABBR 'p' /* don't break a single space after a period */ #define DFLT_FO_VI "vt" #define DFLT_FO_VIM "tcq" -#define FO_ALL "tcroq2vlb1mMBn,awj" /* for do_set() */ +#define FO_ALL "tcroq2vlb1mMBn,awjp" /* for do_set() */ /* characters for the p_cpo option: */ #define CPO_ALTREAD 'a' /* ":read" sets alternate file name */ |