Vim comes with a built-in spellcheck ability. You can make your “WordProcessor” function use that ability by using the command setlocal spell spelllang=en_us .
Vim comes with a built-in spellcheck ability. You can make your “WordProcessor” function use that ability by using the command setlocal spell spelllang=en_us .