Sha256: 1f55192ce7ae1b70dd46c4330d01924c08d9f889c8e6b90e2b156483dac0fd7e

Contents?: true

Size: 1.26 KB

Versions: 2

Compression:

Stored size: 1.26 KB

Contents

{
  "scopeName": "inline.prisma",
  "patterns": [
    {
      "contentName": "meta.embedded.block.prisma",
      "begin": "\\s*+(?:(?:(Relay)\\??\\.)|(prisma)|(/\\* prisma \\*/)|(/\\* Prisma \\*/))\\s*(`)",
      "end": "`",
      "patterns": [
        {
          "include": "source.prisma"
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "variable.other.class.js"
        },
        "2": {
          "name": "entity.name.function.tagged-template.js"
        },
        "3": {
          "name": "entity.name.function.tagged-template.js"
        },
        "4": {
          "name": "punctuation.definition.string.template.begin.js"
        }
      },
      "endCaptures": {
        "0": {
          "name": "punctuation.definition.string.template.end.js"
        }
      }
    },
    {
      "name": "taggedTemplates",
      "contentName": "meta.embedded.block.prisma",
      "begin": "(`)(#prisma)",
      "end": "`",
      "patterns": [
        {
          "include": "source.prisma"
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "punctuation.definition.string.template.begin.js"
        }
      },
      "endCaptures": {
        "0": {
          "name": "punctuation.definition.string.template.end.js"
        }
      }
    }
  ]
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/inline.prisma.json
github-linguist-7.11.0 grammars/inline.prisma.json