python-syntax icon indicating copy to clipboard operation
python-syntax copied to clipboard

Python syntax highlighting for Vim

Results 43 python-syntax issues
Sort by recently updated
recently updated
newest added
trafficstars

vim's rst syntax (maintained upstream at https://github.com/marshallward/vim-restructuredtext) is able to highlight embedded code fragments with their respective syntax files (basically starting at https://github.com/marshallward/vim-restructuredtext/blob/master/syntax/rst.vim#L153). It would be nice if python-syntax likewise...

enhancement

Thank you for the amazing work. Is there a way to color `else` the same as `try`, `catch` and `finally` when in the context of a "try-catch" block? ![image](https://cloud.githubusercontent.com/assets/2729079/25683470/24217994-3011-11e7-985d-7f32f526e256.png)

enhancement

Currently `"%h"` (and l, L) are recognized as printf style formats (https://github.com/vim-python/python-syntax/blob/master/syntax/python.vim#L238). While they are technically legal, they are also useless in Python and likely very rarely used (https://docs.python.org/3.6/library/stdtypes.html#printf-style-string-formatting "A...

enhancement

Was previously removed due to buggy implementation. See discussion in #1. See also [hdima/python-syntax#44](https://github.com/hdima/python-syntax/issues/44).

enhancement

See [hdima/python-syntax#32](https://github.com/hdima/python-syntax/issues/32).

enhancement

See [hdima/python-syntax#15](https://github.com/hdima/python-syntax/issues/15).

enhancement

Hi, currently have an M3 Macbook Pro Max on Sonoma 14.1 VIM 9.1 on iterm2 I've been using this plugin for a long, long time at this point though, across...

Against this ![image](https://github.com/vim-python/python-syntax/assets/3514015/59a05f43-53f3-430c-8f0d-93b25d0ab0cc)

In the python syntax highlighting that ships with vim, doctests have the option to have syntax highlighting. This one only seems to mark the whole region as special Python syntax...

The single-letter prefixes in Python3 are a bit nuts, and get lost in the code. I played aroung a bit and found that I can add a `pythonStringModifier` group to...