Sha256: 188443be823e3f7e0234c5fd4409b3dd0b84065796961b038879eef254b60cd6

Contents?: true

Size: 1.18 KB

Versions: 8

Compression:

Stored size: 1.18 KB

Contents

{
  "name": "Cabal",
  "scopeName": "source.cabal",
  "patterns": [
    {
      "name": "version",
      "match": "(version)\\W*:\\W*([\\d.]+)",
      "captures": {
        "1": {
          "name": "keyword.other"
        },
        "2": {
          "name": "constant.numeric"
        }
      }
    },
    {
      "name": "cabal-keyword",
      "match": "(\\S+):[^/]",
      "captures": {
        "1": {
          "name": "keyword.other"
        }
      }
    },
    {
      "name": "keyword.other",
      "match": "\u0026\u0026"
    },
    {
      "name": "cabal-keyword",
      "match": "([\u003e\u003c=]+)\\s*([\\d.]+)",
      "captures": {
        "1": {
          "name": "keyword.other"
        },
        "2": {
          "name": "constant.numeric"
        }
      }
    },
    {
      "name": "module-type",
      "match": "(benchmark|common|executable|flag|source-repository|test-suite)\\s+(\\S+)",
      "captures": {
        "1": {
          "name": "entity.name.function"
        },
        "2": {
          "name": "support.other"
        }
      }
    },
    {
      "name": "entity.name.function",
      "match": "library"
    },
    {
      "name": "comment",
      "match": "--.*\\n"
    }
  ]
}

Version data entries

8 entries across 8 versions & 1 rubygems

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