Skip to content

Commit 03b9b20

Browse files
committed
fix: fix the doc for onShowDocument
1 parent 38441c9 commit 03b9b20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/adapters/show-document-adapter.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,12 @@ export function attach(connection: LanguageClientConnection): void {
2323
}
2424

2525
/**
26-
* Public: Show a notification message with buttons using the Atom notifications API.
26+
* Public: show documents inside Atom text editor or in external programs
2727
*
2828
* @param params The {ShowDocumentParams} received from the language server
2929
* indicating the document to be displayed as well as other metadata.
30+
* @returns {Promise<ShowDocumentResult>} with a `success: boolean` property specifying if the operation was sucessful
31+
* {@inheritDoc ShowDocumentParams}
3032
*/
3133
export async function onShowDocument(params: ShowDocumentParams): Promise<ShowDocumentResult> {
3234
if (!params.external) {

0 commit comments

Comments
 (0)