[lsp] Document links for FIDL library imports
This adds the "textDocument/documentLink" capability to the language
server. It linkifies platform imports into links to their SDK docs.
This CL also adds the `lsp` package, essentially a shim around go-lsp
that adds some missing LSP types.
Test: go test ./...
Change-Id: Id44a727b57c70d05663b5dfb5d263cb179f53556
Reviewed-on: https://fuchsia-review.googlesource.com/c/fidl-misc/+/395575
Reviewed-by: Benjamin Prosnitz <bprosnitz@google.com>
Reviewed-by: Pascal Perez <pascallouis@google.com>
6 files changed