Sha256: 17d5d152bfd9e07f715529d1c3bc8d64521cb3be93ada628a3167852415658bf

Contents?: true

Size: 1.74 KB

Versions: 2

Compression:

Stored size: 1.74 KB

Contents

{
  "fileTypes": [
    "CMakeCache.txt"
  ],
  "keyEquivalent": "^~C",
  "name": "CMake Cache",
  "patterns": [
    {
      "include": "#comments"
    },
    {
      "include": "#assignation"
    }
  ],
  "repository": {
    "assignation": {
      "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"
        }
      },
      "match": "([a-zA-Z0-9_\\-\\d]+)(:)(STRING|FILE|FILEPATH|BOOL|INTERNAL|STATIC)(\\=)(.*)",
      "name": "variable.cmake"
    },
    "comments": {
      "patterns": [
        {
          "begin": "(^[ \\t]+)?(?=//|\\#)",
          "beginCaptures": {
            "1": {
              "name": "punctuation.whitespace.comment.leading.cmake"
            }
          },
          "end": "(?!\\G)",
          "patterns": [
            {
              "begin": "//",
              "beginCaptures": {
                "0": {
                  "name": "punctuation.definition.comment.cmake"
                }
              },
              "end": "\\n",
              "name": "comment.line.double-slash.cmake"
            },
            {
              "begin": "\\#",
              "beginCaptures": {
                "0": {
                  "name": "punctuation.definition.comment.cmake"
                }
              },
              "end": "\\n",
              "name": "comment.line.sign-line.cmake"
            }
          ]
        }
      ]
    }
  },
  "scopeName": "source.cache.cmake",
  "uuid": "B4264EAE-087F-403D-A84B-C4B16EB885D3"
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github-linguist-grammars-4.6.3 grammars/source.cache.cmake.json
github-linguist-grammars-4.6.0 grammars/source.cache.cmake.json