Improve sorting of completion results (#7727)
This is an attempt to fix #5013 by doing two things: 1. Rank "obvious" matches in completions higher (see the code comment) 2. When tied: rank keywords higher than variables Release Notes: - Improved sorting of completion results to prefer literal matches. ([#5013](https://github.com/zed-industries/zed/issues/5013)). ### Before   ### After   Co-authored-by: Antonio <antonio@zed.dev> Co-authored-by: bennetbo <bennetbo@gmx.de>
T
Thorsten Ball committed
798c9a7d8b32d40dec07788ca85bf5141409547b
Parent: 98fff01
Committed by GitHub <noreply@github.com>
on 2/13/2024, 1:08:03 PM