Sha256: ba772bf4c2119329b72fb33eeae8c73b64952a09d5d436dbcc0016f3358077af

Contents?: true

Size: 1.62 KB

Versions: 4

Compression:

Stored size: 1.62 KB

Contents

{
  "name": "HTML (Erlang)",
  "scopeName": "text.html.erlang.yaws",
  "patterns": [
    {
      "contentName": "meta.embedded.erlang",
      "begin": "(^\\s*)?(?=\u003cerl\u003e)",
      "end": "(?!\\G)(\\s*\\n)?",
      "patterns": [
        {
          "contentName": "source.erlang",
          "begin": "(\u003c)(erl)(\u003e)",
          "end": "((\u003c/))(erl)(\u003e)",
          "patterns": [
            {
              "include": "source.erlang"
            }
          ],
          "beginCaptures": {
            "0": {
              "name": "meta.tag.template.html"
            },
            "1": {
              "name": "punctuation.definition.tag.begin.html"
            },
            "2": {
              "name": "entity.name.tag.html"
            },
            "3": {
              "name": "punctuation.definition.tag.end.html"
            }
          },
          "endCaptures": {
            "0": {
              "name": "meta.tag.template.html"
            },
            "1": {
              "name": "punctuation.definition.tag.begin.html"
            },
            "2": {
              "name": "source.erlang"
            },
            "3": {
              "name": "entity.name.tag.html"
            },
            "4": {
              "name": "punctuation.definition.tag.end.html"
            }
          }
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "punctuation.whitespace.embedded.leading.html"
        }
      },
      "endCaptures": {
        "1": {
          "name": "punctuation.whitespace.embedded.trailing.html"
        }
      }
    },
    {
      "include": "text.html.basic"
    }
  ]
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
github-linguist-6.2.0 grammars/text.html.erlang.yaws.json
github-linguist-6.1.0 grammars/text.html.erlang.yaws.json
github-linguist-6.0.1 grammars/text.html.erlang.yaws.json
github-linguist-6.0.0 grammars/text.html.erlang.yaws.json