After typing the open parenthesis in a function call in python with 2 arguments, the second argument is highlighted when the first one should be highlighted instead.
See attached screenshot - wrong_arg.png.
This only happens when an __init__.py file is in the same directory.
To reproduce:
1) Use a clean config
2) Extract attached pyargs.tar.gz file so that __init__.py and test.py are in the same directory.
3) Open test.py
4) On line 10, after 'func1' type an open parenthesis. Notice that arg2 gets highlighted (see attached screenshot)
On a related note, sometimes when typing the open paren after func1(), the arguments are not just highlighted, but placed into the text in the editor (for example after typing open paren, 'arg1' would automatically be typed in by SE), but sometimes not. What controls this?
I'm using 22.0.1 on Linux x64 on CentOS 7.
Thanks,
Rob