Sha256: 19a1f860bee5e44b18eb6bade021ac6aa8f364cc60c7af1491aa67bc84dc85e3

Contents?: true

Size: 1.97 KB

Versions: 38

Compression:

Stored size: 1.97 KB

Contents

{
  "fileTypes": [
    "desktop"
  ],
  "keyEquivalent": "^~I",
  "name": "desktop",
  "patterns": [
    {
      "begin": "(^[ \\t]+)?(?=#)",
      "beginCaptures": {
        "1": {
          "name": "punctuation.whitespace.comment.leading.desktop"
        }
      },
      "end": "(?!\\G)",
      "patterns": [
        {
          "begin": "#",
          "beginCaptures": {
            "0": {
              "name": "punctuation.defdesktoption.comment.desktop"
            }
          },
          "end": "\\n",
          "name": "comment.line.number-sign.desktop"
        }
      ]
    },
    {
      "captures": {
        "1": {
          "name": "keyword.other.defdesktoption.desktop"
        },
        "2": {
          "name": "punctuation.separator.key-value.desktop"
        }
      },
      "match": "\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)"
    },
    {
      "captures": {
        "1": {
          "name": "punctuation.defdesktoption.entity.desktop"
        },
        "3": {
          "name": "punctuation.defdesktoption.entity.desktop"
        }
      },
      "match": "^(\\[)(.*?)(\\])",
      "name": "entity.name.section.group-title.desktop"
    },
    {
      "begin": "'",
      "beginCaptures": {
        "0": {
          "name": "punctuation.defdesktoption.string.begin.desktop"
        }
      },
      "end": "'",
      "endCaptures": {
        "0": {
          "name": "punctuation.defdesktoption.string.end.desktop"
        }
      },
      "name": "string.quoted.single.desktop",
      "patterns": [
        {
          "match": "\\\\.",
          "name": "constant.character.escape.desktop"
        }
      ]
    },
    {
      "begin": "\"",
      "beginCaptures": {
        "0": {
          "name": "punctuation.defdesktoption.string.begin.desktop"
        }
      },
      "end": "\"",
      "endCaptures": {
        "0": {
          "name": "punctuation.defdesktoption.string.end.desktop"
        }
      },
      "name": "string.quoted.double.desktop"
    }
  ],
  "scopeName": "source.desktop"
}

Version data entries

38 entries across 38 versions & 2 rubygems

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