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

Added support for match and case keywords introduced in python 3.10 #66

Open jwackito opened 2 years ago

jwackito commented 2 years ago

Revision 3.10 (2022-01-09):

lilydjwg commented 2 years ago

But they are actually soft keywords: you can still define a variable / attribute named match (and it's pretty common when using re).

jwackito commented 2 years ago

Oh! I see. Any idea how to process them then?