in src/ssmLanguageService.ts [182:192]
async findDocumentColors(
document: JsonLS.TextDocument,
doc: JsonLS.JSONDocument,
context?: JsonLS.ColorInformationContext | undefined
): Promise<JsonLS.ColorInformation[]> {
if (document.languageId === "ssm-json") {
return await this.jsonLanguageService.findDocumentColors(document, doc, context);
} else {
return [];
}
}