fix: fix hover example

Signed-off-by: pmc <pangmengchen@gmail.com>
pull/3578/head
pmc 2023-02-21 16:02:18 +08:00
parent 6e7b4b68dd
commit 355c1ec992
1 changed files with 1 additions and 1 deletions

View File

@ -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,