bors[bot] eec64ec01b
Merge #7992
7992: improved completion sorting for functions and methods r=JoshMcguigan a=JoshMcguigan

This PR improves completion sorting for functions and methods. Related to #7935.

### Before

The methods are being sorted by `coc` by closeness in file. 

![pre-fn-relevance](https://user-images.githubusercontent.com/22216761/111018669-fe3d3f00-836e-11eb-9607-cc05af080a6a.png)

### After

Notice `bbb()` on top (type + name match), followed by `ddd()` (type match).

![image](https://user-images.githubusercontent.com/22216761/111018680-0e551e80-836f-11eb-94b1-c88336ecbc6e.png)


Co-authored-by: Josh Mcguigan <joshmcg88@gmail.com>
2021-03-15 15:53:15 +00:00
..
2021-03-15 14:08:26 +00:00
2021-03-15 10:19:59 +01:00
2021-03-15 14:42:26 +00:00
2021-03-15 14:42:26 +00:00
2021-03-15 16:02:50 +02:00
2021-03-15 16:02:50 +02:00
2021-03-15 16:02:50 +02:00
2021-03-13 20:14:21 +08:00