How do I configure a custom word list file for Vim spell checking so I can persist accepted words?
:set spellfile={path}
By default, when you use zg to add a word to Vim's spell-check dictionary, it is saved in a file in your Vim data directory.
:set spellfile={path}
By default, when you use zg to add a word to Vim's spell-check dictionary, it is saved in a file in your Vim data directory.
set complete+=kspell
Adding kspell to the complete option makes and draw from the active spell word list — every word Vim considers correctly spelled.
:set spelloptions=camel
By default, Vim treats camelCase as a single word and flags it as a spelling error even when both camel and case are correctly spelled.
:set complete+=kspell
Vim's built-in completion ( / ) sources matches from buffers, included files, and tags by default.