python-syntax
python-syntax copied to clipboard
Python syntax highlighting script for Vim
Python 3.5 introduced `@` as the matrix multiplication operator (https://docs.python.org/3/whatsnew/3.5.html#whatsnew-pep-465). Unfortunately, this syntax file is still highlighting the term after `@` as if it was a decorator.
All's in the title.
Seems like this project is completely dead. We can base the new fork on work done by [purpleP](https://github.com/purpleP/python-syntax) and [lilydjwg](https://github.com/lilydjwg/python-syntax). # New repo at [vim-python/python-syntax](https://github.com/vim-python/python-syntax).
Another new syntax in Python 3.6 is allowance of underscores in the middle of numeric literals to improve readability of long numbers. https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep515 Let's add support for this as well....
Python 3.6 has reached its last beta where its features are frozen now. It introduces a new syntactic element: f-string literals. https://docs.python.org/3.6/whatsnew/3.6.html#whatsnew36-pep498 In f-string literals, the content inside braces are...
Is there a preferred way to use proper folding with python-syntax ? By "proper folding" I mean not a trivial folding solely indent based but a more decent one based...
Creates a new highlighting group (`pythonNone`) so that, in color schemes and elsewhere, `None` can be highlighted differently than other statements. There is no change in behavior, unless the user...
Add multiline info to the syntax names this allows to get more useful information from ``` vim synIDattr(synID(line("."), col("."), 0), "name") ``` I need this info for a better version...