diff --git a/packages/cspell-lib/src/lib/SpellingDictionary/DictionaryController/DictionaryLoader.ts b/packages/cspell-lib/src/lib/SpellingDictionary/DictionaryController/DictionaryLoader.ts index db5fa7f0596..1583fa17e9b 100644 --- a/packages/cspell-lib/src/lib/SpellingDictionary/DictionaryController/DictionaryLoader.ts +++ b/packages/cspell-lib/src/lib/SpellingDictionary/DictionaryController/DictionaryLoader.ts @@ -325,8 +325,12 @@ function toLines(content: string): string[] { return content.split(/\n|\r\n|\r/); } -let useBTrie: boolean = true; +let useBTrie: boolean = false; +/** + * Toggle the use of btrie files when loading dictionaries. + * @returns the new setting + */ export function toggleUseBTrie(): boolean { useBTrie = !useBTrie; return useBTrie;