diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-22 21:02:42 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2020-10-23 08:57:16 -0400 |
commit | 2894649c2ea89642705cfe3b1e7912335a13bad5 (patch) | |
tree | b389247bd630cff0433ae29e63cac159bdfc03db /runtime | |
parent | 9280a69a6d1828972cb8a0f6b7f81e0a5e73c886 (diff) | |
download | rneovim-2894649c2ea89642705cfe3b1e7912335a13bad5.tar.gz rneovim-2894649c2ea89642705cfe3b1e7912335a13bad5.tar.bz2 rneovim-2894649c2ea89642705cfe3b1e7912335a13bad5.zip |
vim-patch:8.2.0901: formatting CJK text isn't optimal
Problem: Formatting CJK text isn't optimal.
Solution: Properly break CJK lines. (closes vim/vim#3875)
https://github.com/vim/vim/commit/e52702f00322c8a8861efd0bd6a3775e685e5685
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/change.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/doc/change.txt b/runtime/doc/change.txt index dcebbc524c..5c67359002 100644 --- a/runtime/doc/change.txt +++ b/runtime/doc/change.txt @@ -1615,6 +1615,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 ~ |