[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
tree: 3d13ca460851c53530c76b382ed095ee7d8d64b3
  1. fidl-lsp/
  2. fidldev/
  3. .gitignore
  4. AUTHORS
  5. CONTRIBUTING.md
  6. LICENSE
  7. PATENTS
  8. README.md
README.md

Fuchsia Open Source Template Repository

This repository is a template that we will use when creating new open source repositories for Fuchsia.