From 7d78f58187cdcb9bed632992cde347fd5f3c83eb Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sun, 16 Oct 2022 13:39:43 +1100 Subject: feat: support inlay hints (#16287) Closes: #11853 --- cli/lsp/mod.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'cli/lsp/mod.rs') 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; -- cgit v1.2.3