hdima / python-syntax

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

yield from is incorrectly highlighted #8

Closed Elizafox closed 11 years ago

Elizafox commented 11 years ago

Hello,

the yield from construct introduced in PEP 380 is not correctly highlighted. The from portion is highlighted as the standalone from statement, as opposed to the entire statement which should be highlighted as a keyword (that is, from preceeded by yield should be highlighted as as keyword).

hdima commented 11 years ago

Thanks for the report! I'll fix it in a few days.

hdima commented 11 years ago

Fixed on master.