adopt API changes in tests and extensions

This commit is contained in:
Johannes Rieken
2021-06-22 14:34:07 +02:00
parent 24f9000e97
commit 14704a7e92
6 changed files with 51 additions and 32 deletions

View File

@@ -49,9 +49,9 @@ export function startClient(context: ExtensionContext, newLanguageClient: Langua
}
function updateLabel(item: CompletionItem) {
if (item.kind === CompletionItemKind.Color) {
item.label2 = {
name: item.label,
type: (item.documentation as string)
item.label = {
label: item.label as string,
description: (item.documentation as string)
};
}
}