Sha256: 03711c1ce41180d3496a49e1c7f3b0063ccd1c4dd314190513241056ddc701cf

Contents?: true

Size: 1.68 KB

Versions: 14

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-z0-9]+)\\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-z0-9]+)\\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

14 entries across 14 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/text.zone_file.json
github-linguist-7.10.0 grammars/text.zone_file.json
github-linguist-7.11.0 grammars/text.zone_file.json
github-linguist-7.9.0 grammars/text.zone_file.json
github-linguist-7.8.0 grammars/text.zone_file.json
github-linguist-7.7.0 grammars/text.zone_file.json
github-linguist-7.6.1 grammars/text.zone_file.json
github-linguist-7.6.0 grammars/text.zone_file.json
github-linguist-7.5.1 grammars/text.zone_file.json
github-linguist-7.5.0 grammars/text.zone_file.json
github-linguist-7.4.0 grammars/text.zone_file.json
github-linguist-7.3.1 grammars/text.zone_file.json
github-linguist-7.3.0 grammars/text.zone_file.json
github-linguist-7.2.0 grammars/text.zone_file.json