{ "$schema": "https://raw.githubusercontent.com/martinring/tmlanguage/master/tmlanguage.json", "name": "DEF Support", "patterns": [ { "include": "#comment" }, { "include": "#escaped-quoted-strings" }, { "include": "#strings" }, { "include": "#function" }, { "include": "#variables" }, { "include": "#types" }, { "include": "#keywords" }, { "include": "#numbers" }, { "include": "#unquoted-strings" } ], "repository": { "escaped-quoted-strings": { "name": "string.quoted.double.def", "begin": "\\\\\"", "end": "\\\\\"", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.def" } }, "endCaptures": { "0": { "name": "punctuation.definition.string.end.def" } }, "patterns": [ { "name": "constant.character.escape.def", "match": "\\\\." }, { "name": "variable.other.property", "match": "\\$[_a-zA-Z][_a-zA-Z0-9]*(\\(\\$?[_a-zA-Z][_a-zA-Z0-9]*(,\\$?[_a-zA-Z][_a-zA-Z0-9]*)*\\))?" } ] }, "keywords": { "patterns": [ { "name": "storage.type.def", "match": "\\b(FORMAT|ADDRESS|FORMATTING|FORCE|LEADER|ZERO_FORMAT|TRAILER|OMIT|MAX|MIN)\\b" } ] }, "strings": { "name": "string.quoted.double.def", "begin": "(?