First
Can we add some variable to enclose new(different from hdima/python-syntax)
self and cls in if statement? So people who do not need them can easily
disabable their highlight. Myself i actually use this highlight, but we need to
think about all users.
Second
Do you mind adding extra operators highlight group which you can find in
klen/python-mode syntax.
It looks like this
syn match pythonExtraOperator "\%([~!^&|/%+-]\|\%(class\s*\)\@<!<<\|<=>\|<=\|\%(<\|\<class\s\+\u\w*\s*\)\@<!<[^<]\@=\|===\|==\|=\~\|>>\|>=\|=\@<!>\|\.\.\.\|\.\.\|::\)"
syn match pythonExtraPseudoOperator "\%(-=\|/=\|\*\*=\|\*=\|&&=\|&=\|&&\|||=\||=\|||\|%=\|+=\|!\~\|!=\)"
syn match pythonExtraOperator "\%(=\)"
syn match pythonExtraOperator "\%(\*\|\*\*\)"
HiLink pythonExraOperator Operator
HiLink pythonExtraPseudoOperator Operator
You can check more at https://github.com/python-mode/python-mode/blob/develop/syntax/python.vim
I think with variable too, so people who need to highlght => == etc, can
turn them on.
Thank you.
First
Can we add some variable to enclose new(different from hdima/python-syntax)
selfandclsin if statement? So people who do not need them can easilydisabable their highlight. Myself i actually use this highlight, but we need to
think about all users.
Second
Do you mind adding extra operators highlight group which you can find in
klen/python-modesyntax.It looks like this
You can check more at https://github.com/python-mode/python-mode/blob/develop/syntax/python.vim
I think with variable too, so people who need to highlght
=>==etc, canturn them on.
Thank you.