diff options
author | Kitson Kelly <me@kitsonkelly.com> | 2022-10-16 13:39:43 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-16 13:39:43 +1100 |
commit | 7d78f58187cdcb9bed632992cde347fd5f3c83eb (patch) | |
tree | 80bd06e16db12e7578b2946eaf0b72ca0ac34c6c /cli/lsp/mod.rs | |
parent | 6d2656fd56e8ac0f1b1443e28d474bf3ceca89bb (diff) |
feat: support inlay hints (#16287)
Closes: #11853
Diffstat (limited to 'cli/lsp/mod.rs')
-rw-r--r-- | cli/lsp/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/lsp/mod.rs b/cli/lsp/mod.rs index 2ee22510f..7161c5209 100644 --- a/cli/lsp/mod.rs +++ b/cli/lsp/mod.rs @@ -58,6 +58,7 @@ pub async fn start() -> Result<(), AnyError> { lsp_custom::VIRTUAL_TEXT_DOCUMENT, LanguageServer::virtual_text_document, ) + .custom_method(lsp_custom::INLAY_HINT, LanguageServer::inlay_hint) .finish(); Server::new(stdin, stdout, socket).serve(service).await; |