Can I disable spell checking for Chinese language only?

295 views
Skip to first unread message

Bill Sun

unread,
Oct 15, 2012, 7:43:29 PM10/15/12
to vim...@googlegroups.com
Hi,

I'm a Chinese vim user. I type English-Chinese-mixed text a lot. The
spell checking for English is neat. However, vim will render all the
Hanzi as incorrect words (underline them), which is pretty annoying.

My suggestion is: Add the ability to turn off the spell checking for all
2-bit characters. Because, at least, all Hanzi are 'individually
correct' (because there is not spell in Chinese at all).

Regards.

王军

unread,
Oct 15, 2012, 8:49:20 PM10/15/12
to vim...@googlegroups.com
Set nospell
?

-----邮件原件-----
发件人: vim...@googlegroups.com [mailto:vim...@googlegroups.com] 代表 Bill
Sun
发送时间: 2012年10月16日 7:43
收件人: vim...@googlegroups.com
主题: Can I disable spell checking for Chinese language only?
--
You received this message from the "vim_use" 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

Bram Moolenaar

unread,
Oct 16, 2012, 12:11:50 AM10/16/12
to Bill Sun, vim...@googlegroups.com
We could disable flagging double-byte characters as an error.
Or all characters above 255. But perhaps best is to specify a range of
characters to exclude from spell checking. Or support spell checking
for a language that defines words with some kind of wildcard.

--
CART DRIVER: Bring out your dead!
LARGE MAN: Here's one!
CART DRIVER: Ninepence.
BODY: I'm not dead!
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

/// Bram Moolenaar -- Br...@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 ///

chris

unread,
Oct 18, 2012, 5:54:33 AM10/18/12
to vim...@googlegroups.com
Excerpts from [ Bill Sun ] //// On [2012-10-15 16:43:29 -0700]:
Me too.

> --
> You received this message from the "vim_use" 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

--
[ stardiviner ] ^^&^^ {I hate all of you ! Leave me alone}
IRC(freenode): stardiviner \\ Twitter: @numbchild \\
GnuPG Key fingerprint
>>> 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433
signature.asc

Linfeng Li

unread,
Feb 26, 2017, 1:52:35 PM2/26/17
to vim_use
Try the following (fixed on my Windows 10 machines)

````
set spell spelllang=en_us,cjk
````
(Note, there should be no space right after the comma. Error if so.)
Reply all
Reply to author
Forward
0 new messages