Skip to content

Commit

Permalink
Add support for stage-1 nullish coalescing operator
Browse files Browse the repository at this point in the history
See #27
  • Loading branch information
lehni authored and michaelgmcd committed Jun 17, 2018
1 parent 57261ca commit c09ee5c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions grammars/Babel-Language.json
Original file line number Diff line number Diff line change
Expand Up @@ -2094,6 +2094,14 @@
}
}
},
{
"match": "\\s*+(\\?\\?)",
"captures": {
"1": {
"name": "keyword.operator.nullcoalesce.js"
}
}
},
{
"match": "\\s*+(!(?!=)|&&|\\|\\|)",
"captures": {
Expand Down

0 comments on commit c09ee5c

Please sign in to comment.