{ "fileTypes": [ "haml" ], "foldingStartMarker": "^\\s*([-%#\\:\\.\\w\\=].*)\\s$", "foldingStopMarker": "^\\s*$", "name": "Ruby Haml", "patterns": [ { "begin": "^\\s*==", "end": "$\\n?", "captures": { "1": { "name": "string.quoted.double.ruby" } }, "patterns": [ { "include": "#interpolated_ruby" } ] }, { "include": "#continuation" }, { "match": "^(!!!)($|\\s.*)", "name": "meta.prolog.haml", "captures": { "1": { "name": "punctuation.definition.prolog.haml" } } }, { "match": "(?<=\\#\\{)([^#]+)(?=\\})", "name": "meta.embedded.ruby", "captures": { "1": { "patterns": [ { "include": "source.ruby.rails" } ] } } }, { "match": "^(\\s*)(\\/\\[[^\\]].*?$\\n?)", "name": "comment.line.slash.haml", "captures": { "1": { "name": "punctuation.section.comment.haml" } } }, { "begin": "^(\\s*)(\\-\\#|\\/|\\-\\s*\\/\\*+)", "end": "^(?!\\1\\s+|$\\n?)", "name": "comment.line.slash.haml", "captures": { "2": { "name": "punctuation.section.comment.haml" } } }, { "begin": "^\\s*(?:((%)([-\\w:]+))|(?=\\.|#))", "end": "$|(?!\\.|#|\\{|\\(|\\[|&|=|-|~|!=|&=|/)", "captures": { "1": { "name": "meta.tag.haml" }, "2": { "name": "punctuation.definition.tag.haml" }, "3": { "name": "entity.name.tag.haml" } }, "patterns": [ { "begin": "==", "end": "$\\n?", "name": "string.quoted.double.ruby", "contentName": "string.quoted.double.ruby", "patterns": [ { "include": "#interpolated_ruby" } ] }, { "match": "\\.[\\w-]+", "name": "entity.name.tag.class.haml" }, { "match": "#[\\w-]+", "name": "entity.name.tag.id.haml" }, { "begin": "(?