tandem tandem - 1 year ago 123
LaTeX Question

Force vim to use en_gb as default dictionary

I'm trying to force vim to use

as the default dictionary using my

My goal is to have it at least for
files. This is how it is right now.

set spell spelllang=en_gb

vim, unfortunately, can not tell me if
is correct?

Answer Source

If you are just testing those words as the only word in the document, neither is correct: they will both be marked as SpellCap (word not capitalized). If you put in Colour and Color, or if you put another word before them, Colour will not be marked, and Color will be marked as SpellLocal (wrong spelling for selected region). You can see this for yourself using these:

hi SpellBad ctermfg=red
hi SpellCap ctermfg=blue
hi SpellRare ctermfg=green
hi SpellLocal ctermfg=yellow

By default, on many colourschemes, all of those just render the same way (underline), so you can't distinguish them.

You might also find that out by using z= (suggest word) on colour - you'd get Colour as a top correction.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download