Hirohito Higashi wrote:
> By default, 'm' is not contained in 'formatoptions', so automatic > wrapping not work when multi-byte characters are continuously input. > Of course, I should set it up with my .vimrc, but I saw some people in > trouble with this case. > I am very happy if you can include an attached patch. > I think this change does not affect non-multi-byte-inputting people. AFAIK this should only be done for Asian languages. There are many other languages where multi-byte characters are used, such as Greek, where spaces are used to separate words. Like Tony also mentioned. Would it work to $LANG for a match with a list of languages for which these 'formatoptions' are useful? -- Although the scythe isn't pre-eminent among the weapons of war, anyone who has been on the wrong end of, say, a peasants' revolt will know that in skilled hands it is fearsome. -- (Terry Pratchett, Mort) /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.