Skip to content

Commit

Permalink
Merge pull request #1 from github-linguist/lildude/use-javascripts-regex
Browse files Browse the repository at this point in the history
Use source.js.regexp provided by the Javascript grammar
lildude authored Mar 4, 2019
2 parents 23b9074 + 2c1bc5d commit dedf347
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion JavaScript (Babel).YAML-tmLanguage
Original file line number Diff line number Diff line change
@@ -1049,7 +1049,7 @@ repository:
'1': {name: punctuation.definition.string.end.js}
'2': {name: keyword.other.js}
patterns:
- include: source.regexp.js
- include: source.js.regexp

literal-string:
patterns:
2 changes: 1 addition & 1 deletion JavaScript (Babel).tmLanguage
Original file line number Diff line number Diff line change
@@ -3274,7 +3274,7 @@
<array>
<dict>
<key>include</key>
<string>source.regexp.js</string>
<string>source.js.regexp</string>
</dict>
</array>
</dict>

0 comments on commit dedf347

Please sign in to comment.