@bablr/cli 0.11.2 → 0.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/syntax.js +5 -1
- package/package.json +1 -1
package/lib/syntax.js
CHANGED
|
@@ -69,7 +69,10 @@ function* __higlightStrategy(tags) {
|
|
|
69
69
|
} else if (tagName === Symbol.for('EscapeSequence')) {
|
|
70
70
|
yield buildAnsiPushEffect('bold cyan');
|
|
71
71
|
} else if (tagName === Symbol.for('Identifier')) {
|
|
72
|
-
if (
|
|
72
|
+
if (
|
|
73
|
+
currentName === Symbol.for('ReferenceTag') ||
|
|
74
|
+
currentName === Symbol.for('ReferenceMatcher')
|
|
75
|
+
) {
|
|
73
76
|
yield buildAnsiPushEffect('bold gray');
|
|
74
77
|
} else if (currentName === Symbol.for('Call')) {
|
|
75
78
|
yield buildAnsiPushEffect('magenta bold');
|
|
@@ -92,6 +95,7 @@ function* __higlightStrategy(tags) {
|
|
|
92
95
|
} else if (tagName === null && tag.value.flags.token) {
|
|
93
96
|
if (
|
|
94
97
|
currentName === Symbol.for('ReferenceTag') ||
|
|
98
|
+
currentName === Symbol.for('ReferenceMatcher') ||
|
|
95
99
|
currentName === Symbol.for('ReferenceFlags')
|
|
96
100
|
) {
|
|
97
101
|
yield buildAnsiPushEffect('bold gray');
|