summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-04 18:22:13 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-04 18:22:13 +0200
commite52702f00322c8a8861efd0bd6a3775e685e5685 (patch)
treeffd498e52ee2b139f3a145147aca02afc5013d63 /runtime
parent9155825b2428ef6bf654204a534b033a6879c90d (diff)
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 'runtime')
-rw-r--r--runtime/doc/change.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt
index 59004af14a..39e7b48ff9 100644
--- a/runtime/doc/change.txt
+++ b/runtime/doc/change.txt
@@ -1688,6 +1688,10 @@ B When joining lines, don't insert a space between two multi-byte
characters. Overruled by the 'M' flag.
1 Don't break a line after a one-letter word. It's broken before it
instead (if possible).
+] Respect textwidth rigorously. With this flag set, no line can be
+ longer than textwidth, unless line-break-prohibition rules make this
+ impossible. Mainly for CJK scripts and works only if 'encoding' is
+ "utf-8".
j Where it makes sense, remove a comment leader when joining lines. For
example, joining:
int i; // the index ~