Support LSP-compliant `relatedInformation` field
commit59d13948f72ae9f38784905d810d918e89c02606
authorFred Emmott <fe@fb.com>
Tue, 5 Jun 2018 23:02:33 +0000 (5 16:02 -0700)
committerHhvm Bot <hhvm-bot@users.noreply.github.com>
Tue, 5 Jun 2018 23:03:30 +0000 (5 16:03 -0700)
tree02a80436f8ed2d7cc38ef7dfe976722bf8680b1f
parented55b0af0565b461547a0fb633bd3a42b25ae6f3
Support LSP-compliant `relatedInformation` field

Summary:
Include both the nuclide-specific `relatedLocations`, and the identical LSP-standard `relatedInformation`

fixes PranayAgarwal/vscode-hack#17

Reviewed By: pittsw, arxanas

Differential Revision: D8286533

fbshipit-source-id: 2b02928b875a44ee563e1999f9ba7a1f50a3bf2f
hphp/hack/src/client/clientLsp.ml
hphp/hack/src/utils/lsp.ml
hphp/hack/src/utils/lsp_fmt.ml