Skip to content

Commit ac24beb

Browse files
committed
转发一下API
1 parent 68b27a0 commit ac24beb

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

client/out/languageserver.js

Lines changed: 11 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/src/languageserver.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ class LuaClient {
6363
progressOnInitialization: true,
6464
markdown: {
6565
isTrusted: true,
66+
supportHtml: true,
6667
},
6768
initializationOptions: {
6869
changeConfiguration: true,
@@ -192,3 +193,10 @@ export async function deactivate() {
192193
}
193194
return undefined;
194195
}
196+
197+
export async function reportAPIDoc(params: any) {
198+
if (!defaultClient) {
199+
return;
200+
}
201+
defaultClient.client.sendNotification('$/api/report', params);
202+
}

0 commit comments

Comments
 (0)