You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently only ::method is matched, but there is also ::Class::method, and e.g. test_pytest_param_example.py::test_eval[1+7-8].
As for matching the ::Class I think using the normal command / instead of search() might work - using two patterns (/^\s*class Class;/\s*def method).
Currently s:setpos only supports calling a function though - are you up for changing this?
(I do not think that we can assume execute() to be available)
Would an internal method wrapping :normal make sense - maybe using execute() if it is available?
As for the parametrized suffix: this should get matched, but ignored - it all goes to the same method.
The text was updated successfully, but these errors were encountered:
Currently only
::method
is matched, but there is also::Class::method
, and e.g.test_pytest_param_example.py::test_eval[1+7-8]
.As for matching the
::Class
I think using the normal command/
instead ofsearch()
might work - using two patterns (/^\s*class Class;/\s*def method
).Currently
s:setpos
only supports calling a function though - are you up for changing this?(I do not think that we can assume
execute()
to be available)Would an internal method wrapping
:normal
make sense - maybe usingexecute()
if it is available?As for the parametrized suffix: this should get matched, but ignored - it all goes to the same method.
The text was updated successfully, but these errors were encountered: