Skip to content

fixed builtin_functions and octals, added allcaps

Choose a tag to compare

@MattDMo MattDMo released this 28 Jun 22:21
· 184 commits to master since this release

The major change in this release is that built-in functions like any(), dict(), len(), raw_input(), etc. now have their arguments highlighted just like any other function. Many thanks to @facelessuser and @FichteFoll for their help and input. Additionally, I've also added constant.other.allcaps.python, which captures variable names that are in all caps (OPENING_PORT, for example), assuming the convention that these are generally treated as constants in the code. This scope does not match variable.other.django.settings, so each can be colored independently. Finally, I tweaked the octal scope so that both old-style values like 0123 and Python 3-style 0o123 numbers are recognized.

I added my .YAML-tmLanguage to the repo as well as a .no-sublime-package file to facilitate hacking.