python-syntax
python-syntax copied to clipboard
Python syntax highlighting for Vim
This is based on the work of [@g15ecb](https://github.com/g15ecb) https://github.com/g15ecb/python-syntax/commit/988efe9edcfeed9e762102fcb315a4fd47db4c00
Another attempt at #45 and #57, namely to properly highlight docstrings as comments. For now, this implementation is very ugly, but it actually works. It only highlights things that should...
```python a^~b a|~b [i%2for i in X] 0 if i
Add `doc/tags` to `.gitignore` to suppress the "untracked content" message after running `:helptags` when this repository is a submodule.
The default highlighting scheme for brackets is to change the background color. Would there be any way I could instead change the text color for highlighting the brackets? Thanks.
Hey team- just wanted to start the discussion about [PEP 622] since it introduces some new syntax. Any thoughts on what the effort might be to add support? I'm guessing...
Picking this up from #45 So, docstrings are an important part of Python code and one may wish to render them as comments instead of normal strings. However, differentiating when...
This line is wrongly detected as a syntax error: ``` elif options.print: ``` But `print` is an existing attribute of `options`, and the code works.
The spellchecker is considering `f'this` in `f'this is a f-string` as a potential dictionary word and thereby highlighting it as wrong.