+1

Python syntax highlighting for binary literals

Bcj Brendan il y a 12 ans 0
The python language file (Python.tmLanguage) is missing the pattern for binary literals (e.g., 0b1010). To add support, all that needs to be done, is to add a few lines of code(http://pastebin.com/0mDW2mKL) to the patterns array (just search for constant.numeric.integer.hexadecimal, and add it underneath).