[TxMt] Python Annotations Syntax Highlighting

Leandro Pereira de Lima e Silva leandro at limaesilva.com.br
Mon Apr 13 19:49:58 UTC 2015


Hello!

Python3 is on track to getting type hints through annotations in functions,
which TextMate doesn't recognize.

I've tried to modify the current regex to recognize this new piece of
notation but I'm not that well versed enough in regex. Maybe someone more
experienced with it could do it?

Here are the references for it:
- https://www.python.org/dev/peps/pep-3107/
- https://www.python.org/dev/peps/pep-0484/

Cheers, Leandro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20150413/beaab864/attachment.html>


More information about the textmate mailing list