diff --git a/src/app/text-mate-scope-selector-matchers.coffee b/src/app/text-mate-scope-selector-matchers.coffee index 166a4969e..1791215d4 100644 --- a/src/app/text-mate-scope-selector-matchers.coffee +++ b/src/app/text-mate-scope-selector-matchers.coffee @@ -5,7 +5,7 @@ class SegmentMatcher matches: (scope) -> scope is @segment -class AsteriskMatcher +class TrueMatcher constructor: -> matches: -> @@ -69,7 +69,7 @@ class CompositeMatcher module.exports = { AndMatcher - AsteriskMatcher + TrueMatcher CompositeMatcher NegateMatcher OrMatcher diff --git a/src/app/text-mate-scope-selector-pattern.pegjs b/src/app/text-mate-scope-selector-pattern.pegjs index e684949cd..7327cf876 100644 --- a/src/app/text-mate-scope-selector-pattern.pegjs +++ b/src/app/text-mate-scope-selector-pattern.pegjs @@ -12,7 +12,7 @@ segment } / _ scopeName:[\*] _ { - return new matchers.AsteriskMatcher(); + return new matchers.TrueMatcher(); } scope