aboutsummaryrefslogtreecommitdiff
path: root/crates/cfg/src
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-03-15 15:53:15 +0000
committerGitHub <[email protected]>2021-03-15 15:53:15 +0000
commiteec64ec01b0553aca855df8146965ed6c6746e7d (patch)
tree40e81ae73928c85bbd6ab452fd317383cf5322d8 /crates/cfg/src
parentb8a85e960398ebab4624574f9c2ed9c655612d56 (diff)
parentdb8bcf132c901cc9b9f993b17b1e648f55c35e78 (diff)
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 <[email protected]>
Diffstat (limited to 'crates/cfg/src')
0 files changed, 0 insertions, 0 deletions