kjeremy 0619c67ac6 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
2020-04-24 10:11:57 -04:00
..
2020-04-19 15:15:49 -04:00
2020-04-22 01:44:21 +08:00
2020-04-23 21:58:52 +00:00
2020-04-24 13:25:37 +02:00
2020-04-24 09:27:37 +08:00
2020-04-19 15:15:49 -04:00
2020-04-23 23:18:18 +02:00