python-syntax
python-syntax copied to clipboard
Python syntax highlighting for Vim
As python 3.6 gave us f-strings it's I've been using them more over the ol' `.format()` syntax. Sadly, the syntax is highlighting strings that have curly braces but have neither...
I'm using VIM 8.1.1722, MacVim, on MacOSX Mohave 10.14.6 I installed this plugin using vim-plug. I do not have the commands listed. Nothing comes up for 'Python2' or 'Python3'
I'm using VIM 8.1.1722, MacVim, on MacOSX Mohave 10.14.6. I installed this plugin with vim-plug, most recent version at the time of writing. I have a pytest decorator that looks...
Installed with vim-plug, set `let g:python_highlight_all=1`, but no highlighting for exceptions, booleans and `None`.
I find it difficult to see at a glance where f-string interpolation is happening. Where: ```python print(f'hello {name}') ``` would add syntax matching for the `{` and `}` characters. Also,...
credits to @pangloss (https://github.com/pangloss), most of this was taken from vim-javascript 
Even though I have set python_highlight_builtin_funcs_kwarg to 0, builtins are still hightlighted in decorators, i.e. the `type` is highlighted in `@click.arguments('foo', type = TAG)`.
https://github.com/achimnol/python-syntax I have recently updated my own fork to support type annotations and fix some bugs in f-string highlighting. I didn't notice this new "official" fork here, so need to...
Feel free to ignore this PR, but as a stopgap to adding full reconfigurability, I think it makes sense to remove spellchecking in strings. It leads to loads of false...
The user may not want to spellcheck strings (I don't, anyway). If they set `g:python_spellcheck_strings = 0`, then they can accomplish that. This also closes #12.