Skip to content

Commit

Permalink
[FJSX15] Move "const" to variable declaration.
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Oct 6, 2016
1 parent 4cf9aa4 commit 3065c70
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
9 changes: 6 additions & 3 deletions syntaxes/fjsx15/variable-declaration.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ contexts:
- match: |
(?x)
(?=
(?> let
(?> const
| let
| var
)\s+\{
)
Expand All @@ -36,7 +37,8 @@ contexts:
- match: |
(?x)
(?=
(?> let
(?> const
| let
| var
)\s+\[
)
Expand Down Expand Up @@ -68,7 +70,8 @@ contexts:
keyword:
- match: |
(?x)
(?> let
(?> const
| let
| var
)\b
scope: keyword.variable.declaration.fjsx15
Expand Down
5 changes: 1 addition & 4 deletions syntaxes/js15/statement/simple.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,7 @@ contexts:
(?xi)\b
(?> await
| break
| con
(?> st
| tinue
)
| continue
| de
(?> fault
| lete
Expand Down

0 comments on commit 3065c70

Please sign in to comment.