Sha256: 1e5988cc885a552020ef10c2f27a8f83dc9d059029d3571ac9b931c24d7636af

Contents?: true

Size: 1.95 KB

Versions: 38

Compression:

Stored size: 1.95 KB

Contents

{
  "scopeName": "source.nant-build",
  "name": "NAnt Build File",
  "fileTypes": [
    "build"
  ],
  "foldingStartMarker": "<[^!?/>]+|<!--",
  "foldingStopMarker": "/>|</[^?>]+|-->",
  "patterns": [
    {
      "begin": "<!--",
      "captures": {
        "0": {
          "name": "punctuation.definition.comment.nant"
        }
      },
      "end": "-->",
      "name": "comment.block.nant"
    },
    {
      "begin": "(</?)([-_a-zA-Z0-9:]+)",
      "captures": {
        "1": {
          "name": "punctuation.definition.tag.nant"
        },
        "2": {
          "name": "entity.name.tag.nant"
        }
      },
      "end": "(/?>)",
      "name": "meta.tag.nant",
      "patterns": [
        {
          "match": " ([a-zA-Z-]+)",
          "name": "entity.other.attribute-name.nant"
        },
        {
          "begin": "\"",
          "beginCaptures": {
            "0": {
              "name": "punctuation.definition.string.begin.nant"
            }
          },
          "end": "\"",
          "endCaptures": {
            "0": {
              "name": "punctuation.definition.string.end.nant"
            }
          },
          "name": "string.quoted.double.nant"
        },
        {
          "begin": "'",
          "beginCaptures": {
            "0": {
              "name": "punctuation.definition.string.begin.nant"
            }
          },
          "end": "'",
          "endCaptures": {
            "0": {
              "name": "punctuation.definition.string.end.nant"
            }
          },
          "name": "string.quoted.single.nant"
        }
      ]
    },
    {
      "captures": {
        "1": {
          "name": "punctuation.definition.constant.nant"
        },
        "3": {
          "name": "punctuation.definition.constant.nant"
        }
      },
      "match": "(&)([a-zA-Z]+|#[0-9]+|#x[0-9a-fA-F]+)(;)",
      "name": "constant.character.entity.nant"
    },
    {
      "match": "&",
      "name": "invalid.illegal.bad-ampersand.nant"
    }
  ]
}

Version data entries

38 entries across 38 versions & 2 rubygems

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