diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-04 18:22:13 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-04 18:22:13 +0200 |
commit | e52702f00322c8a8861efd0bd6a3775e685e5685 (patch) | |
tree | ffd498e52ee2b139f3a145147aca02afc5013d63 /src/option.h | |
parent | 9155825b2428ef6bf654204a534b033a6879c90d (diff) | |
download | vim-git-e52702f00322c8a8861efd0bd6a3775e685e5685.tar.gz |
patch 8.2.0901: formatting CJK text isn't optimalv8.2.0901
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes #3875)
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 718553a90..4b6eadc46 100644 --- a/src/option.h +++ b/src/option.h @@ -141,12 +141,13 @@ #define FO_ONE_LETTER '1' #define FO_WHITE_PAR 'w' // trailing white space continues paragr. #define FO_AUTO 'a' // automatic formatting +#define FO_RIGOROUS_TW ']' // respect textwidth rigorously #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,awjp" // for do_set() +#define FO_ALL "tcroq2vlb1mMBn,aw]jp" // for do_set() // characters for the p_cpo option: #define CPO_ALTREAD 'a' // ":read" sets alternate file name |