cson added

master
Marcus Gosselin 2016-02-22 06:39:30 -05:00
parent 32ece0ac8f
commit edb4600925
2 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1,41 @@
scopeName: "DiveScene";
fileTypes: ["scene", "template"];
name: "Dive Engine File";
patterns: [
{
name: "constant.numeric.integer"
match: "#[0-9A-Fa-f]{6}"
}
{
name: "constant.numeric.integer"
match: "( |=)[+-]?\\d+[iI]"
}
{
name: "constant.numeric.float"
match: "(^|\\s|=|\\n)\\d{0,}\\.?\\d{1,}[Ff]"
}
{
name: "variable"
match: "\\$[A-Za-z0-9]*"
}
{
name: "comment"
match: "^#.*\n"
}
{
name: "keyword.control"
match: "(Template|Component|End Component)"
}
{
name: "string.quoted.double"
begin: "\""
end: "\""
patterns: [
{
name: "keyword.control"
match: "\\\\[A-Za-z]"
}
]
}
];

9
package.json 100644
View File

@ -0,0 +1,9 @@
{
"name": "DiveEngine",
"description": "DiveEngine Scene File Syntax",
"version": "0.0.1",
"engines": {
"atom": "*",
"node": "*"
}
}