LSP: Support LocationLink (#12231)

* support LocationLink in callbacks
* announce linkSupport in client capabilities
This commit is contained in:
Christian Clason
2020-05-02 15:21:07 +02:00
committed by GitHub
parent a6071ac04d
commit 2f42e4d0c8
2 changed files with 24 additions and 7 deletions

View File

@@ -644,6 +644,18 @@ function protocol.make_client_capabilities()
-- TODO(tjdevries): Implement this
contextSupport = false;
};
declaration = {
linkSupport = true;
};
definition = {
linkSupport = true;
};
implementation = {
linkSupport = true;
};
typeDefinition = {
linkSupport = true;
};
hover = {
dynamicRegistration = false;
contentFormat = { protocol.MarkupKind.Markdown; protocol.MarkupKind.PlainText };