diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-08-18 12:58:02 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-08-18 12:58:02 +0100 |
commit | 2252a65f238cac0ebf0c4c56d9b475fa0460d758 (patch) | |
tree | cd9f08481a2f5bad16c16c2232c79c780f004623 /crates/hir_def/src/item_scope.rs | |
parent | 5dfb1e054aa5ab0636e6a0ff5e2bbf297a24869a (diff) | |
parent | e8e1eb4263d5bcf109550432143dd54de9f64946 (diff) |
Merge #5687
5687: Fix document symbols order r=matklad a=magurotuna
Resolves #5655
And adds tests for `handle_document_symbol`, both with `hierarchical_symbols` enabled and with it disabled.
Previously document symbols were displayed in reverse order in sublime text with its LSP plugin, but this patch fixes it like this:
![image](https://user-images.githubusercontent.com/23649474/89709020-fbccce00-d9b6-11ea-83b0-c88dc9f7977f.png)
Co-authored-by: Yusuke Tanaka <[email protected]>
Diffstat (limited to 'crates/hir_def/src/item_scope.rs')
0 files changed, 0 insertions, 0 deletions