Sha256: 9f051a80b63b2e4dd81f58beed8f2053f44afdf39fc036b97b2010043232397e

Contents?: true

Size: 1.68 KB

Versions: 13

Compression:

Stored size: 1.68 KB

Contents

{
  "name": "Bind Zone Files",
  "scopeName": "text.zone_file",
  "patterns": [
    {
      "name": "comment.line.semicolon.zone_file",
      "match": ";.*"
    },
    {
      "name": "keyword.directive.zone_file",
      "match": "@"
    },
    {
      "name": "keyword.directive.zone_file",
      "match": "\\$(ORIGIN|origin|TTL|ttl|INCLUDE|include)\\s*([^;]*)(;.*)?",
      "captures": {
        "2": {
          "name": "variable.other.directive.zone_file"
        },
        "3": {
          "name": "comment.line.semicolon.zone_file"
        }
      }
    },
    {
      "name": "variable.other.timeunit.zone_file",
      "match": "\\d+(H|h|D|d|W|w|M|m|Y|y)"
    },
    {
      "name": "string.quoted.single.address.zone_file",
      "begin": "([A-Za-z0-9_.-]*)\\s+(?:([0-9A-Za-z]*)\\s+)?([I|i][N|n]\\s+[A-Za-z]+)\\s+(.*)\\(",
      "end": "\\)",
      "patterns": [
        {
          "name": "comment.line.semicolon.zone_file",
          "match": ";.*"
        }
      ],
      "beginCaptures": {
        "2": {
          "name": "variable.other.timeunit.zone_file"
        },
        "3": {
          "name": "keyword.resourcetype.zone_file"
        },
        "4": {
          "name": "string.quoted.single.resource.address.zone_file"
        }
      }
    },
    {
      "name": "string.quoted.single.address.zone_file",
      "match": "([A-Za-z0-9_.-]*)\\s+(?:([0-9A-Za-z]*)\\s+)?([I|i][N|n]\\s+[A-Za-z]+)\\s+(.*)",
      "captures": {
        "2": {
          "name": "variable.other.timeunit.zone_file"
        },
        "3": {
          "name": "keyword.resourcetype.zone_file"
        },
        "4": {
          "name": "string.quoted.single.resource.address.zone_file"
        }
      }
    }
  ]
}

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
github-linguist-7.1.3 grammars/text.zone_file.json
github-linguist-7.1.2 grammars/text.zone_file.json
github-linguist-7.1.1 grammars/text.zone_file.json
github-linguist-7.1.0 grammars/text.zone_file.json
github-linguist-7.0.0 grammars/text.zone_file.json
github-linguist-6.4.1 grammars/text.zone_file.json
github-linguist-6.4.0 grammars/text.zone_file.json
github-linguist-6.3.1 grammars/text.zone_file.json
github-linguist-6.3.0 grammars/text.zone_file.json
github-linguist-6.2.0 grammars/text.zone_file.json
github-linguist-6.1.0 grammars/text.zone_file.json
github-linguist-6.0.1 grammars/text.zone_file.json
github-linguist-6.0.0 grammars/text.zone_file.json