Sha256: 0e572bf3f1bce084a62143eccbe88fba018ba4e043f937d835f691154811501d

Contents?: true

Size: 1.59 KB

Versions: 27

Compression:

Stored size: 1.59 KB

Contents

{
  "name": "Strings File",
  "scopeName": "source.strings",
  "patterns": [
    {
      "name": "comment.block.strings",
      "begin": "/\\*",
      "end": "\\*/",
      "captures": {
        "0": {
          "name": "punctuation.definition.comment.strings"
        }
      }
    },
    {
      "name": "string.quoted.double.strings",
      "begin": "\"",
      "end": "\"",
      "patterns": [
        {
          "name": "constant.character.escape.strings",
          "match": "\\\\(\\\\|[abefnrtv'\"?]|[0-3]\\d{0,2}|[4-7]\\d?|x[a-zA-Z0-9]+)"
        },
        {
          "name": "invalid.illegal.unknown-escape.strings",
          "match": "\\\\."
        },
        {
          "name": "constant.other.placeholder.strings",
          "match": "(?x)%\n\t\t\t\t\t\t(\\d+\\$)?                             # field (argument #)\n\t\t\t\t\t\t[#0\\- +']*                           # flags\n\t\t\t\t\t\t[,;:_]?                              # separator character (AltiVec)\n\t\t\t\t\t\t((-?\\d+)|\\*(-?\\d+\\$)?)?              # minimum field width\n\t\t\t\t\t\t(\\.((-?\\d+)|\\*(-?\\d+\\$)?)?)?         # precision\n\t\t\t\t\t\t(hh|h|ll|l|j|t|z|q|L|vh|vl|v|hv|hl)? # length modifier\n\t\t\t\t\t\t[@diouxXDOUeEfFgGaACcSspn%]          # conversion type\n\t\t\t\t\t"
        },
        {
          "name": "invalid.illegal.placeholder.c",
          "match": "%"
        }
      ],
      "beginCaptures": {
        "0": {
          "name": "punctuation.definition.string.begin.strings"
        }
      },
      "endCaptures": {
        "0": {
          "name": "punctuation.definition.string.end.strings"
        }
      }
    }
  ]
}

Version data entries

27 entries across 27 versions & 1 rubygems

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