Is it possible to add correctly spelled words to vim's internal wordlist via modeline? Or another file specific method?
Vim can add words to the temporary internal-wordlist via key command zG
or :spellgood! {word}
. Can the same be done on the modeline?
An example would be following text where I want the acronyms "RAS" and "RAP" to be considered good words when using vim's spell checking.
RAS syndrome (short for "redundant acronym syndrome syndrome"), also known as PNS syndrome ("PIN number syndrome syndrome", which expands to "personal identification number number syndrome syndrome") or RAP phrases ("redundant acronym phrase phrases"), refers to the use of one or more of the words that make up an acronym or initialism in conjunction with the abbreviated form, thus in effect repeating one or more words.
Text was copied from http://en.wikipedia.org/wiki/RAS_syndrome