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>
798c9a7d8bThorsten Ball committed on 2/13/2024, 1:08:03 PM· committed by GitHubparent98fff01