Tuesday, September 15, 2020

Re: how to make vim's spell checking consider only british spelling correct?

Caveman Al Toraboran' wrote:
>
> no reply yet. so i guess not easily possible?
>
> ‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
> On Monday, September 14, 2020 10:39 AM, 'Caveman Al Toraboran' via vim_use <vim_use@googlegroups.com> wrote:
>
> > hi - i have `:set spellang=en_gb spell`, but
> > things like "color" and "minimize" are still not
> > highlighted as false.
> >
> > my goal is to have a 100% british english spell
> > checking.
> >
> > Q: how to make vim consider them typos?
> >
> > rgrds,
> > cm.

It works as expected for me, using vim-8.2.1690.

- with ":set spellllang=en_gb spell", vim highlights
the word "color" as misspelled but not the word "colour".
- with ":set spelllang=en_us spell", vim highlights
the word "colour" as misspelled but not the word "color".

It uses the color of highlight group SpellLocal.

Maybe your color scheme does not highlight the
the group SpellLocal? For spell errors, Vim uses either
SpellBad, SpellCap, SpellLocal or SpellRare. See
their meaning in :help highlight-groups.

What happens with a standard colorscheme of vim
such as ":colorscheme desert"?

Try also the command :spellinfo. It may show that you're
using a non-standard spell file in your ~/.vim/... directory.

Regards
Dominique

--
--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/CAON-T_gCFM2cA686mJyGri4%3DJPOCqR%3DORH17D92Q6RA-2ggOUA%40mail.gmail.com.

No comments: