mirror of
https://github.com/wassname/nvatom.git
synced 2026-08-12 12:10:23 +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.