Sha256: 5fab76a9ed687c2842e9efaab31c4b2938ab2167d9ed8899972c08def3626b7d

Contents?: true

Size: 1.63 KB

Versions: 27

Compression:

Stored size: 1.63 KB

Contents

{
  "name": "CMake Cache",
  "scopeName": "source.cache.cmake",
  "patterns": [
    {
      "include": "#comments"
    },
    {
      "include": "#assignation"
    }
  ],
  "repository": {
    "assignation": {
      "name": "variable.other.cmake",
      "match": "([a-zA-Z0-9_\\-\\d]+)(:)(STRING|FILE|FILEPATH|BOOL|INTERNAL|STATIC)(\\=)(.*)",
      "captures": {
        "1": {
          "name": "variable.language.cache.cmake"
        },
        "2": {
          "name": "keyword.other.argument-separator.cmake"
        },
        "3": {
          "name": "constant.language.cache.cmake"
        },
        "4": {
          "name": "keyword.operator.cmake"
        },
        "5": {
          "name": "string.unquoted.cmake"
        }
      }
    },
    "comments": {
      "patterns": [
        {
          "begin": "(^[ \\t]+)?(?=//|\\#)",
          "end": "(?!\\G)",
          "patterns": [
            {
              "name": "comment.line.double-slash.cmake",
              "begin": "//",
              "end": "\\n",
              "beginCaptures": {
                "0": {
                  "name": "punctuation.definition.comment.cmake"
                }
              }
            },
            {
              "name": "comment.line.sign-line.cmake",
              "begin": "\\#",
              "end": "\\n",
              "beginCaptures": {
                "0": {
                  "name": "punctuation.definition.comment.cmake"
                }
              }
            }
          ],
          "beginCaptures": {
            "1": {
              "name": "punctuation.whitespace.comment.leading.cmake"
            }
          }
        }
      ]
    }
  }
}

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/source.cache.cmake.json
github-linguist-7.10.0 grammars/source.cache.cmake.json
github-linguist-7.11.0 grammars/source.cache.cmake.json
github-linguist-7.9.0 grammars/source.cache.cmake.json
github-linguist-7.8.0 grammars/source.cache.cmake.json
github-linguist-7.7.0 grammars/source.cache.cmake.json
github-linguist-7.6.1 grammars/source.cache.cmake.json
github-linguist-7.6.0 grammars/source.cache.cmake.json
github-linguist-7.5.1 grammars/source.cache.cmake.json
github-linguist-7.5.0 grammars/source.cache.cmake.json
github-linguist-7.4.0 grammars/source.cache.cmake.json
github-linguist-7.3.1 grammars/source.cache.cmake.json
github-linguist-7.3.0 grammars/source.cache.cmake.json
github-linguist-7.2.0 grammars/source.cache.cmake.json
github-linguist-7.1.3 grammars/source.cache.cmake.json
github-linguist-7.1.2 grammars/source.cache.cmake.json
github-linguist-7.1.1 grammars/source.cache.cmake.json
github-linguist-7.1.0 grammars/source.cache.cmake.json
github-linguist-7.0.0 grammars/source.cache.cmake.json
github-linguist-6.4.1 grammars/source.cache.cmake.json