fix for number values in config() completion items (#9)

master
Brad Cornes 2018-09-25 22:36:53 +01:00
parent ce8b928891
commit 061bff14f6
1 changed files with 1 additions and 1 deletions

View File

@ -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) {