Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
PHPirates committed Dec 11, 2024
1 parent 7f4d1dd commit afd06d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ class LatexSpellcheckingStrategy : SpellcheckingStrategy() {
private fun getArgument(leaf: LeafPsiElement): Argument? {
val parent = leaf.parentOfType<LatexCommands>() ?: return null

val arguments = getArguments(parent.name?.substring(1) ?: return null) ?: return null
val arguments = getArguments(parent.name?.substring(1) ?: return null) ?: return null
val requiredArguments = arguments.filterIsInstance<RequiredArgument>()
val optionalArguments = arguments.filterIsInstance<OptionalArgument>()

Expand Down

0 comments on commit afd06d5

Please sign in to comment.