Sha256: d9d2facc235bb12b7fb06d11e2b4a3e5599282811922c820a43150b4dd9738fc

Contents?: true

Size: 725 Bytes

Versions: 6

Compression:

Stored size: 725 Bytes

Contents

{
  "name": "Hosts file",
  "scopeName": "source.hosts",
  "patterns": [
    {
      "include": "#main"
    }
  ],
  "repository": {
    "host": {
      "name": "string.unquoted.hostname",
      "match": "[^:\\s#][^\\s#]*"
    },
    "loopback": {
      "name": "constant.numeric.other.ip-address",
      "match": "(?\u003c=\\s|^)(::)1",
      "captures": {
        "1": {
          "name": "punctuation.definition.ip-address.loopback"
        }
      }
    },
    "main": {
      "patterns": [
        {
          "include": "etc#comment"
        },
        {
          "include": "etc#ip"
        },
        {
          "include": "#loopback"
        },
        {
          "include": "#host"
        }
      ]
    }
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/source.hosts.json
github-linguist-7.10.0 grammars/source.hosts.json
github-linguist-7.11.0 grammars/source.hosts.json
github-linguist-7.9.0 grammars/source.hosts.json
github-linguist-7.8.0 grammars/source.hosts.json
github-linguist-7.7.0 grammars/source.hosts.json