From 355c1ec992599e3aea30c5af1e2ba0ccbca42992 Mon Sep 17 00:00:00 2001 From: pmc Date: Tue, 21 Feb 2023 16:02:18 +0800 Subject: [PATCH] fix: fix hover example Signed-off-by: pmc --- .../hover-provider-example/sample.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/website/data/playground-samples/extending-language-services/hover-provider-example/sample.js b/website/src/website/data/playground-samples/extending-language-services/hover-provider-example/sample.js index 9b58efb5..1359688a 100644 --- a/website/src/website/data/playground-samples/extending-language-services/hover-provider-example/sample.js +++ b/website/src/website/data/playground-samples/extending-language-services/hover-provider-example/sample.js @@ -2,7 +2,7 @@ monaco.languages.register({ id: "mySpecialLanguage" }); monaco.languages.registerHoverProvider("mySpecialLanguage", { provideHover: function (model, position) { - return xhr("../playground.html").then(function (res) { + return xhr("./playground.html").then(function (res) { return { range: new monaco.Range( 1,