diff --git a/Syntaxes/JavaScript Basic.tmLanguage b/Syntaxes/JavaScript Basic.tmLanguage index 5b3fc51..fff620e 100644 --- a/Syntaxes/JavaScript Basic.tmLanguage +++ b/Syntaxes/JavaScript Basic.tmLanguage @@ -144,6 +144,10 @@ include #literal-regex + + include + #literal-keywords + include #literal-function-call @@ -152,10 +156,6 @@ include #literal-function-constructor - - include - #literal-keywords - include #literal-labels @@ -601,6 +601,24 @@ name keyword.operator.logical.js + + match + (?x) + %= | # assignment right-to-left both + &= | # assignment right-to-left both + \*= | # assignment right-to-left both + \+= | # assignment right-to-left both + -= | # assignment right-to-left both + /= | # assignment right-to-left both + \^= | # assignment right-to-left both + \|= | # assignment right-to-left both + <<= | # assignment right-to-left both + >>= | # assignment right-to-left both + >>>= # assignment right-to-left both + + name + keyword.operator.assignment.augmented.js + match (?x) @@ -637,24 +655,6 @@ name keyword.operator.comparison.js - - match - (?x) - %= | # assignment right-to-left both - &= | # assignment right-to-left both - \*= | # assignment right-to-left both - \+= | # assignment right-to-left both - -= | # assignment right-to-left both - /= | # assignment right-to-left both - \^= | # assignment right-to-left both - \|= | # assignment right-to-left both - <<= | # assignment right-to-left both - >>= | # assignment right-to-left both - >>>= # assignment right-to-left both - - name - keyword.operator.assignment.augmented.js - match (?x)