{ "name": "Ini", "scopeName": "source.ini", "patterns": [ { "begin": "(^[ \\t]+)?(?=#)", "end": "(?!\\G)", "patterns": [ { "name": "comment.line.number-sign.ini", "begin": "#", "end": "\\n", "beginCaptures": { "0": { "name": "punctuation.definition.comment.ini" } } } ], "beginCaptures": { "1": { "name": "punctuation.whitespace.comment.leading.ini" } } }, { "begin": "(^[ \\t]+)?(?=;)", "end": "(?!\\G)", "patterns": [ { "name": "comment.line.semicolon.ini", "begin": ";", "end": "\\n", "beginCaptures": { "0": { "name": "punctuation.definition.comment.ini" } } } ], "beginCaptures": { "1": { "name": "punctuation.whitespace.comment.leading.ini" } } }, { "match": "\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)", "captures": { "1": { "name": "keyword.other.definition.ini" }, "2": { "name": "punctuation.separator.key-value.ini" } } }, { "name": "entity.name.section.group-title.ini", "match": "^(\\[)(.*?)(\\])", "captures": { "1": { "name": "punctuation.definition.entity.ini" }, "3": { "name": "punctuation.definition.entity.ini" } } }, { "name": "string.quoted.single.ini", "begin": "'", "end": "'", "patterns": [ { "name": "constant.character.escape.ini", "match": "\\\\." } ], "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.ini" } }, "endCaptures": { "0": { "name": "punctuation.definition.string.end.ini" } } }, { "name": "string.quoted.double.ini", "begin": "\"", "end": "\"", "beginCaptures": { "0": { "name": "punctuation.definition.string.begin.ini" } }, "endCaptures": { "0": { "name": "punctuation.definition.string.end.ini" } } } ] }