Sha256: bce31de967de6e7ec5bd5d766d3709059fbee8081e9b30673a7313c302483d9e

Contents?: true

Size: 1.9 KB

Versions: 14

Compression:

Stored size: 1.9 KB

Contents

{
  "name": "Nim Comment",
  "scopeName": "source.nim.comment",
  "patterns": [
    {
      "name": "comment.line.number-sign.multi-comment.nim",
      "begin": "(?i)(\\#\\[)\\s*(todo\\b)?",
      "end": "(?i)(\\]\\#)",
      "patterns": [
        {
          "include": "$self"
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "punctuation.definition.multi-comment.nim"
        },
        "2": {
          "name": "invalid.illegal.TODO.nim"
        }
      },
      "endCaptures": {
        "1": {
          "name": "punctuation.definition.multi-comment.nim"
        }
      }
    },
    {
      "name": "comment.line.number-sign.multi-doc-comment.nim",
      "begin": "(?i)(\\#\\#\\[)\\s*(todo\\b)?",
      "end": "(?i)(\\]\\#\\#)",
      "patterns": [
        {
          "include": "$self"
        }
      ],
      "beginCaptures": {
        "1": {
          "name": "punctuation.definition.multi-doc-comment.nim"
        },
        "2": {
          "name": "invalid.illegal.TODO.nim"
        }
      },
      "endCaptures": {
        "1": {
          "name": "punctuation.definition.multi-doc-comment.nim"
        }
      }
    },
    {
      "name": "comment.line.number-sign.doc-comment.nim",
      "match": "(?i)(##\\s*)(todo\\b)?(.*$\\n?)",
      "captures": {
        "1": {
          "name": "punctuation.definition.doc-comment.nim"
        },
        "2": {
          "name": "invalid.illegal.TODO.nim"
        },
        "3": {
          "name": "comment.line.number-sign.doc-comment.body.nim"
        }
      }
    },
    {
      "name": "comment.line.number-sign.comment.nim",
      "match": "(?i)(#\\s*)(todo\\b)?(.*$\\n?)",
      "captures": {
        "1": {
          "name": "punctuation.definition.comment.nim"
        },
        "2": {
          "name": "invalid.illegal.TODO.nim"
        },
        "3": {
          "name": "comment.line.number-sign.comment.body.nim"
        }
      }
    }
  ]
}

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
github-linguist-7.11.1 grammars/source.nim.comment.json
github-linguist-7.10.0 grammars/source.nim.comment.json
github-linguist-7.11.0 grammars/source.nim.comment.json
github-linguist-7.9.0 grammars/source.nim.comment.json
github-linguist-7.8.0 grammars/source.nim.comment.json
github-linguist-7.7.0 grammars/source.nim.comment.json
github-linguist-7.6.1 grammars/source.nim.comment.json
github-linguist-7.6.0 grammars/source.nim.comment.json
github-linguist-7.5.1 grammars/source.nim.comment.json
github-linguist-7.5.0 grammars/source.nim.comment.json
github-linguist-7.4.0 grammars/source.nim.comment.json
github-linguist-7.3.1 grammars/source.nim.comment.json
github-linguist-7.3.0 grammars/source.nim.comment.json
github-linguist-7.2.0 grammars/source.nim.comment.json