Skip to content

Commit

Permalink
[JS] Allow modifiers only on the same line
Browse files Browse the repository at this point in the history
  • Loading branch information
borela committed Jun 26, 2018
1 parent 4bb4da4 commit c0044b2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions syntaxes/fjsx15/class/modifier.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -19,23 +19,23 @@ scope: ...
contexts:
main:
# static
- match: static\b(?!\s*:)
- match: static\b(?!\s*(?>[:,]|$))
scope: storage.modifier.js.fjsx15
set: modifier-trap
# private
- match: \#(?!\s*:)
- match: \#(?!\s*(?>[:,]|$))
scope: storage.modifier.js.fjsx15
set: modifier-trap
# async
- match: async\b(?!\s*:)
- match: async\b(?!\s*(?>[:,]|$))
scope: storage.modifier.js.fjsx15
set: modifier-trap
# get/set
- match: (?>get|set)\b(?!\s*:)
- match: (?>get|set)\b(?!\s*(?>[:,]|$))
scope: storage.modifier.js.fjsx15
set: modifier-trap
# generator
- match: \*(?!\s*:)
- match: \*(?!\s*(?>[:,]|$))
scope: storage.modifier.js.fjsx15
set: modifier-trap

Expand Down

0 comments on commit c0044b2

Please sign in to comment.