hdima / python-syntax

Python syntax highlighting script for Vim
http://www.vim.org/scripts/script.php?script_id=790
MIT License
363 stars 109 forks source link

datetime formatting in "{}" formay string #32

Open anntzer opened 9 years ago

anntzer commented 9 years ago

print("Today is {:%A %B %d}".format(datetime.date.today())) is highlighted incorrectly. mrrech/python-syntax@8b431340bad5354457e265db7be25edd73f4b281 provides a "partial" fix but it's not really enough.