cursorless
cursorless copied to clipboard
`every branch` partitions the leading branch from the rest
Python code:
if True:
air()
elif False:
bat()
elif file_not_found:
cap()
pre every branch airplaces the cursor only before theifpre every branch batplaces the cursor only before the twoelifs and not theif
My expectation in both of these cases would be that a cursor is placed before the if and both the elifs.
Agreed. This should be easy to fix with new query-based scope types
This should now be solved after the latest python scope updates
Confirmed fixed 👍