in src/ssmLanguageService.ts [138:148]
async doHover(
document: JsonLS.TextDocument,
position: JsonLS.Position,
jsonDocument: JsonLS.JSONDocument
): Promise<JsonLS.Hover | null> {
if (document.languageId === "ssm-json") {
return await this.jsonLanguageService.doHover(document, position, jsonDocument);
} else {
return await this.yamlLanguageService.doHover(document, position);
}
}