{ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name": "ChickenScript", "patterns": [ { "include": "#keywords" }, { "include": "#variables" }, { "include": "#strings" }, { "include": "#constants" }, { "include": "#comments" }, { "include": "#overrides" } ], "repository": { "keywords": { "patterns": [{ "name": "keyword.control.chickenscript", "match": "\\b(if|elseif|else|then|while|do|for|return|function|datapack|end)\\b" }] }, "variables": { "patterns": [ { "name": "entity.name.class", "match": "\\b(int|deci|vector|NBT|Entity)\\b" }, { "name": "keyword.other", "match": "\\b(property|singular)\\b" } ] }, "strings": { "name": "string.quoted.double.chickenscript", "begin": "\"", "end": "\"", "patterns": [ { "name": "constant.character.escape.chickenscript", "match": "\\\\." } ] }, "constants": { "patterns": [ { "name": "constant.numeric", "match": "\\d+" }, { "name": "constant.language", "match": "\\b([@].|self)\\b" } ] }, "comments": { "patterns": [{ "name": "comment.line.number-sign.chickenscript", "match": "#.*" }] }, "overrides": { "begin": "\\s*!", "end": "\n", "beginCaptures": { "0": { "name": "keyword.control" } }, "name": "meta.embedded.block.mcfunction", "patterns": [ { "name": "constant.language", "match": "&[^\\s]*" }, { "include": "source.mcfunction" } ] } }, "scopeName": "source.mdcs" }