From 061bff14f67451e801795991d67f72aa7642aa62 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Tue, 25 Sep 2018 22:36:53 +0100 Subject: [PATCH] fix for number values in config() completion items (#9) --- src/extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/extension.ts b/src/extension.ts index 34832a3..0e7d70b 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -370,7 +370,7 @@ function createConfigItems(config, prefix = '') { item.filterText = item.insertText = `${prefix}${key}` item.sortText = naturalExpand(i.toString()) if (typeof config[key] === 'string' || typeof config[key] === 'number') { - item.detail = config[key] + item.detail = config[key].toString() let color = getColorFromValue(item.detail) if (color) {