Hacker News new | ask | show | jobs
by dmishe 3890 days ago
What are the advantages over built-in syntax highlight in sublime text?
1 comments

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
Noted, thanks