handle string and boolean mappings
This commit is contained in:
@@ -71,6 +71,13 @@ function mappingValues(
|
|||||||
// No special insertText in this case
|
// No special insertText in this case
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case DefinitionType.String:
|
||||||
|
insertText = `\n${indentation}${key}: `;
|
||||||
|
break;
|
||||||
|
|
||||||
|
case DefinitionType.Boolean:
|
||||||
|
insertText = `${indentation}${key}: `;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
insertText = `${key}: `;
|
insertText = `${key}: `;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user