I am a programmer and use Vim primarily for that, but I have found that enabling Vim's spell check is a somewhat useful feature to have just to help slightly incentivize cleaning up the parts of files that are written in English.
Now what I thought about just now is I think it would be cool if I could have this system mark certain arbitrary word sequences like "the the" as an error for me. Is this possible?
I know that I can use
zw to mark a word as bad, but I want to do it for a sequence of words that I want to also treat as wrong (but which may be made up of words that are fine).
:set spell to enable spell check in Vim)