Set of snippets to write to snippets/‹name›.json.
Declarations
Type
attribute set of ((attribute set of (JSON value)) or strings concatenated with "\n")Default
{ }Example
{
html = {
"Define doctype" = {
body = [
"<!DOCTYPE >
"
"$1"
];
description = "Defines the document type";
prefix = "doctype";
};
};
javascript = {
"Log to console" = {
body = [
"console.info(\"Hello, \${1:World}!\")"
"$0"
];
description = "Logs to console";
prefix = "log";
};
};
}