diff --git a/src/main/kotlin/com/jetbrains/snakecharm/codeInsight/SnakemakeAPI.kt b/src/main/kotlin/com/jetbrains/snakecharm/codeInsight/SnakemakeAPI.kt index b9d006a3..73d104f6 100644 --- a/src/main/kotlin/com/jetbrains/snakecharm/codeInsight/SnakemakeAPI.kt +++ b/src/main/kotlin/com/jetbrains/snakecharm/codeInsight/SnakemakeAPI.kt @@ -425,22 +425,30 @@ class SnakemakeAPIProjectService(val project: Project): Disposable { } if (!params.isPlaceholderInjectionAllowed) { val context = ctxAndName.contextType - val keywords = contextType2NotValidForInjectionSubsectionKeywords.getOrPut(context) { mutableSetOf() } + val keywords = contextType2NotValidForInjectionSubsectionKeywords.getOrPut(context) { + mutableSetOf() + } keywords.add(ctxAndName.directiveKeyword) } if (params.isPlaceholderExpandedToWildcard) { val context = ctxAndName.contextType - val keywords = contextType2WildcardsExpandingSubsectionKeywords.getOrPut(context) { mutableSetOf() } + val keywords = contextType2WildcardsExpandingSubsectionKeywords.getOrPut(context) { + mutableSetOf() + } keywords.add(ctxAndName.directiveKeyword) } if (params.isAccessibleInRuleObj) { val context = ctxAndName.contextType - val keywords = contextType2AccessibleInRuleObjectSubsectionKeywords.getOrPut(context) { mutableSetOf() } + val keywords = contextType2AccessibleInRuleObjectSubsectionKeywords.getOrPut(context) { + mutableSetOf() + } keywords.add(ctxAndName.directiveKeyword) } if (params.isAccessibleAsPlaceholder) { val context = ctxAndName.contextType - val keywords = contextType2AccessibleAccessibleAsPlaceholderSubsectionKeywords.getOrPut(context) { mutableSetOf() } + val keywords = contextType2AccessibleAccessibleAsPlaceholderSubsectionKeywords.getOrPut(context) { + mutableSetOf() + } keywords.add(ctxAndName.directiveKeyword) }