Use symbol.operator and symbol.brackets scopes correctly

This commit is contained in:
Kyle Barron
2018-10-02 13:54:29 -04:00
parent de35d00ba7
commit e0ce419357
2 changed files with 6 additions and 6 deletions

View File

@@ -23,9 +23,9 @@ rules:
# decorators
- brightgreen: "@.*[(]"
# operators
- statement: "([.:;,+*|=!\\%@]|<|>|/|-|&)"
- symbol.operator: "([.:;,+*|=!\\%@]|<|>|/|-|&)"
# parentheses
- statement: "([(){}]|\\[|\\])"
- symbol.brackets: "([(){}]|\\[|\\])"
# numbers
- constant.number: "\\b[0-9]+\\b"