Skip to content

Commit

Permalink
[JS] Add scope to dot in regex literals
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Oct 15, 2018
1 parent 82a35f9 commit be23a0e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ scope: ...

contexts:
main:
- match: \.
scope: constant.other.character-class.regexp.js.fjsx15
pop: true
- match: ((\[)(\^)?)
captures:
1: constant.other.character-class.regexp.js.fjsx15
Expand Down

0 comments on commit be23a0e

Please sign in to comment.