Skip to content

Commit

Permalink
Fix class starting at indent.
Browse files Browse the repository at this point in the history
  • Loading branch information
gandm committed Sep 7, 2015
1 parent 701ad51 commit a56518b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grammars/Babel Language.json
Original file line number Diff line number Diff line change
Expand Up @@ -839,7 +839,7 @@
"patterns": [
{
"comment": "Classes",
"begin": "(?<!\\.)\\b(class)\\s+",
"begin": "\\s*(?<!\\.)\\b(class)\\s+",
"end": "\\s*(})",
"beginCaptures": {
"0": { "name": "meta.class.js" },
Expand Down

0 comments on commit a56518b

Please sign in to comment.