From 2e1de1edf3e3a9bd76d5b4c4106987ed53195012 Mon Sep 17 00:00:00 2001 From: Piotr Fusik Date: Thu, 27 Aug 2026 13:40:58 +0200 Subject: [PATCH] Match the actual types in the hover example --- _specifications/lsp/3.18/specification.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/_specifications/lsp/3.18/specification.md b/_specifications/lsp/3.18/specification.md index 7c900e3ce..75fa7a0c0 100644 --- a/_specifications/lsp/3.18/specification.md +++ b/_specifications/lsp/3.18/specification.md @@ -400,7 +400,7 @@ An example would be a request sent from the client to the server to request a ho ```typescript interface HoverParams { - textDocument: string; /** The text document's URI in string form */ + textDocument: { uri: string; }; position: { line: uinteger; character: uinteger; }; } ``` @@ -409,7 +409,7 @@ The result of the request would be the hover to be presented. In its simple form ```typescript interface HoverResult { - value: string; + contents: string; } ```