diff --git a/src/app/text-mate-grammar.coffee b/src/app/text-mate-grammar.coffee index 07275b56e..b600147a7 100644 --- a/src/app/text-mate-grammar.coffee +++ b/src/app/text-mate-grammar.coffee @@ -117,6 +117,7 @@ class TextMateGrammar ruleStack = new Array(ruleStack...) # clone ruleStack tokens = [] position = 0 + loop scopes = scopesFromStack(ruleStack) previousRuleStackLength = ruleStack.length