python-syntax
python-syntax copied to clipboard
Python syntax highlighting script for Vim
Revision 3.10 (2022-01-09): - Add support for 'match' and 'case' keywords introduced in Python 3.10. Patch by Joaquin Bogado.
Highlight the statements for pattern matching. PEP: https://www.python.org/dev/peps/pep-0634/
So you can use the SpecialComment minor highlight group for pythonCoding and pythonRun lines
Add support for Python 3.6 f-string literal, underscore in numbers, and Python 3.5 type annotations
PR for #58 and #59. Finally I figured out how to "embed" other syntax inside a region using `syn cluster`. Python keywords, numbers, booleans, and builtins are highlighted inside f-string...
Hi, Thanks for maintaining this. Really appreciate your work. Here's the issue I'm reporting: Although I like having the `@Spell` option enabled for `pythonComment`, the same option for strings is...
When I enabled this package, it messed up the autotabbing behaviour of vim making it effectively unusable. Seems like #62 ("the project is dead: time to fork") might be right,...
Any chance of adding support for function annotations? https://www.python.org/dev/peps/pep-3107/
A couple of "builtin globals" (actually module attributes) are missing highlighting: `__loader__`, `__spec__`, `__path__` and `__cached__` (see https://docs.python.org/3/reference/import.html#import-related-module-attributes).
I've searched and found issues about that https://github.com/hdima/python-syntax/issues/21 https://github.com/hdima/python-syntax/issues/10 And I find you arguments very weak. So your first argument: > I actually tried it and I don't really like...