diff --git a/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt b/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt index c952cfced..d966d8527 100644 --- a/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt +++ b/src/main/kotlin/translations/lang/spellcheck/LangSpellcheckingStrategy.kt @@ -22,13 +22,14 @@ package com.demonwav.mcdev.translations.lang.spellcheck import com.demonwav.mcdev.translations.lang.MCLangLanguage import com.demonwav.mcdev.translations.lang.gen.psi.LangTypes +import com.intellij.openapi.project.DumbAware import com.intellij.psi.PsiElement import com.intellij.psi.impl.source.tree.LeafPsiElement import com.intellij.spellchecker.tokenizer.SpellcheckingStrategy import com.intellij.spellchecker.tokenizer.Tokenizer import com.intellij.spellchecker.tokenizer.TokenizerBase -class LangSpellcheckingStrategy : SpellcheckingStrategy() { +class LangSpellcheckingStrategy : SpellcheckingStrategy(), DumbAware { private val langCommentTokenizer = LangCommentTokenizer() private val langKeyTokenizer = TokenizerBase(LangKeySplitter)