Function: getDictionary()
getDictionary(
settings):Promise<SpellingDictionaryCollection>
Defined in: packages/cspell-lib/src/lib/getDictionary.ts:12
Load a dictionary collection defined by the settings.
Parameters
settings
that defines the dictionaries and the ones to load.
Returns
Promise<SpellingDictionaryCollection>
a dictionary collection that represents all the enabled dictionaries.