abusalimov / SublimeCImproved

(NO LONGER MAINTAINED) Improved syntax for C/C++/Objective-C, with a special support for sources of Linux kernel, CPython, etc.
https://packagecontrol.io/packages/C%20Improved
MIT License
51 stars 45 forks source link

numbers: Use 'storage.type.number...' scopes for prefixes and suffixes #34

Closed abusalimov closed 8 years ago

abusalimov commented 8 years ago

This scope is more semantically correct than 'string.other.number' introduced in 42a69ee ("numbers: (MAJOR) Completely rewrite, add GNU features, error reporting").

Also the same scopes are used for highlighting number literals in the MagicStack/MagicPython syntax.