On Sun, 04 Jan 2009, pansz wrote:
> Interesting, I see the wide punctuation characters are recognized, so
> vim is using wide character internally, and omitting some particular
> wide-character from 'iskeyword' shouldn't be hard.
>
> Then why the 'iskeyword' supports only characters from 0-255?
Just wild guess since I've never looked into vim's source code. I
think that iskeyword or spellcheck for that matter use FSM to
implement the parser. It's ok to have a table of 256 characters but
not so easy to work with a table of millions of unicode characters.
A quick and dirty workaround is to coerce all non 8-bit characters as
white space.
--
regards,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
唐詩202 盧綸 晚次鄂州
雲開遠見漢陽城 猶是孤帆一日程 估客晝眠知浪靜 舟人夜語覺潮生
三湘愁鬢逢秋色 萬里歸心對月明 舊業已隨征戰盡 更堪江上鼓鼙聲
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---