mirror of
https://github.com/wassname/nvatom.git
synced 2026-09-26 14:00:55 +08:00
This is a regression caused by docquery integration (56821bccbc). indexof always returns -1. Since the selected item is always the first filtered item, we can safely set it to 1.