parent
6e7b4b68dd
commit
355c1ec992
|
@ -2,7 +2,7 @@ monaco.languages.register({ id: "mySpecialLanguage" });
|
||||||
|
|
||||||
monaco.languages.registerHoverProvider("mySpecialLanguage", {
|
monaco.languages.registerHoverProvider("mySpecialLanguage", {
|
||||||
provideHover: function (model, position) {
|
provideHover: function (model, position) {
|
||||||
return xhr("../playground.html").then(function (res) {
|
return xhr("./playground.html").then(function (res) {
|
||||||
return {
|
return {
|
||||||
range: new monaco.Range(
|
range: new monaco.Range(
|
||||||
1,
|
1,
|
||||||
|
|
Loading…
Reference in New Issue