Merge branch 'a11ce-python-highlight-zero'

This commit is contained in:
Zachary Yedidia 2020-12-27 18:43:07 -05:00
commit ef5b21c861
2 changed files with 3 additions and 3 deletions

File diff suppressed because one or more lines are too long

View file

@ -26,7 +26,7 @@ rules:
# parentheses
- symbol.brackets: "([(){}]|\\[|\\])"
# numbers
- constant.number: "\\b[1-9](_?[0-9])*(\\.([0-9](_?[0-9])*)?)?(e[0-9](_?[0-9])*)?\\b" # decimal
- constant.number: "\\b[0-9](_?[0-9])*(\\.([0-9](_?[0-9])*)?)?(e[0-9](_?[0-9])*)?\\b" # decimal
- constant.number: "\\b0b(_?[01])+\\b" # bin
- constant.number: "\\b0o(_?[0-7])+\\b" # oct
- constant.number: "\\b0x(_?[0-9a-f])+\\b" # hex