Sha256: a0cf0f5a9bf237fdfefc85c0010d67c531d251b7b5e16c2bb8c7e3cdcd2780be

Contents?: true

Size: 1.19 KB

Versions: 27

Compression:

Stored size: 1.19 KB

Contents

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

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-5.3.3 grammars/source.cabal.json
github-linguist-5.3.2 grammars/source.cabal.json
github-linguist-5.3.1 grammars/source.cabal.json
github-linguist-5.3.0 grammars/source.cabal.json
github-linguist-5.2.0 grammars/source.cabal.json
github-linguist-5.1.0 grammars/source.cabal.json
github-linguist-5.0.11 grammars/source.cabal.json
github-linguist-5.0.10 grammars/source.cabal.json
github-linguist-5.0.9 grammars/source.cabal.json
github-linguist-5.0.8 grammars/source.cabal.json
github-linguist-5.0.7 grammars/source.cabal.json
github-linguist-5.0.6 grammars/source.cabal.json
github-linguist-5.0.5 grammars/source.cabal.json
github-linguist-5.0.4 grammars/source.cabal.json
github-linguist-5.0.3 grammars/source.cabal.json
github-linguist-5.0.2 grammars/source.cabal.json
github-linguist-5.0.0 grammars/source.cabal.json
github-linguist-4.8.18 grammars/source.cabal.json
github-linguist-4.8.17 grammars/source.cabal.json
github-linguist-4.8.16 grammars/source.cabal.json