Sunday, February 26, 2017

Re: Can I disable spell checking for Chinese language only?

On Monday, October 15, 2012 at 7:43:29 PM UTC-4, Bill Sun wrote:
> 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.

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.)

--
--
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

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

No comments:

Post a Comment