aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_mbe
diff options
context:
space:
mode:
authorkjeremy <[email protected]>2020-04-24 15:11:57 +0100
committerkjeremy <[email protected]>2020-04-24 15:11:57 +0100
commit0619c67ac6b2f503750058437ce0af08d17d1018 (patch)
tree8d3a9545087bce774d5cbec4216512c585c8eeb4 /crates/ra_mbe
parentae1f77e5e9aef59aed9cd5a146114e37a74e3316 (diff)
Support returning non-hierarchical symbols
If `hierarchicalDocumentSymbolSupport` is not true in the client capabilites then it does not support the `DocumentSymbol[]` return type from the `textDocument/documentSymbol` request and we must fall back to `SymbolInformation[]`. This is one of the few requests that use the client capabilities to differentiate between return types and could cause problems for clients. See https://github.com/microsoft/language-server-protocol/pull/538#issuecomment-442510767 for more context. Found while looking at #144
Diffstat (limited to 'crates/ra_mbe')
0 files changed, 0 insertions, 0 deletions