Merge pull request #1205 from kylebarron/python-syntax-fixes

Use symbol.operator and symbol.brackets scopes correctly in Python syntax file
This commit is contained in:
Zachary Yedidia
2018-12-10 14:28:21 -05:00
committed by GitHub
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"