Vim Spell

When editing text in (neo)Vim, a spell checker is something I’ve missed for a long time. Which let me to Google words to check the spelling. Vim includes a spell checker since Vim 7, which makes me believe all neovim versions will have it included too.

To enable it :setlocal spell is enough for the current buffer. The standard language is chosen based on the system context. To deviate from the default and check Dutch: :setlocal spell spelllang=nl_nl.

Once enabled, misspelled words are highlighted. To correct the spelling by looking through the suggestions type z=. Previous and next misspelled words are ]s and [s respectively. Adding a new word zg, and marking a false negative as a misspelled word: zw.