On Thu, Jan 25, 2018 at 2:25 AM, James McCoy <[email protected]> wrote:
> The todo list already has a few potentially related items in it.
>
> 7 Add plugins for formatting? Should be able to make a choice depending on
> the language of a file (English/Korean/Japanese/etc.).
> Setting the 'langformat' option to "chinese" would load the
> "format/chinese.vim" plugin.
> The plugin would set 'formatexpr' and define the function being called.
> Edward L. Fox explains how it should be done for most Asian languages.
> (2005 Nov 24)
> Alternative: patch for utf-8 line breaking. (Yongwei Wu, 2008 Feb 23)
>
> Have a look at patch for utf-8 line breaking. (Yongwei Wu, 2008 Mar 1, Mar
> 23)
> Now at: http://vimgadgets.sourceforge.net/liblinebreak/
>
> Support breakpoint character ? 0xb7 and ignore it? Makes it possible to
> use same wordlist for hyphenation.

U+00B7 MIDDLE DOT is a printable character, it MUST NOT be ignored.
Not only is it one of the characters which can be used as a bullet in
unnumbered lists, it is also used in Catalan to differentiate the
"geminated L", l·l as in col·lega "colleague" from the "palatalized
L", ll as in lleidatà (relating to, or living in, the town Lleida,
whose Castilian name used to be Lérida).

If we must use a zero-width word separator, let's use a character made
for that purpose, for instance U+200B ZERO WIDTH SPACE. That character
exists in UTF-8 of course, but also in GB18030, which is IIUC a
"China-centered" encoding which can encode any Unicode codepoint and
is (again, IIUC) required to be supported on all new software sold in
mainland China.

Best regards,
Tony.

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui