top | item 10416477

(no title)

dmishe | 10 years ago

What are the advantages over built-in syntax highlight in sublime text?

discuss

order

1st1|10 years ago

To name a few, we highlight correctly async/await, function annotations, very complex regexps, all kinds of unicode|byte|raw string literals (and new/old style formatting), docstrings, reserved words in improper contexts etc. Most importantly, MagicPython doesn't break where builtin sublime syntax fails, try this snippet for instance:

    def foo() -> int:
        return a

dmishe|10 years ago

Noted, thanks