--- 
name: NAnt Build File
fileTypes: 
- build
scopeName: source.nant-build
uuid: 1BA72668-707C-11D9-A928-000D93589AF6
foldingStartMarker: <[^!?/>]+|<!--
patterns: 
- name: comment.block.nant
  captures: 
    "0": 
      name: punctuation.definition.comment.nant
  begin: <!--
  end: -->
- name: meta.tag.nant
  captures: 
    "1": 
      name: punctuation.definition.tag.nant
    "2": 
      name: entity.name.tag.nant
  begin: (</?)([-_a-zA-Z0-9:]+)
  end: (/?>)
  patterns: 
  - name: entity.other.attribute-name.nant
    match: " ([a-zA-Z-]+)"
  - name: string.quoted.double.nant
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.nant
    begin: "\""
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.nant
    end: "\""
  - name: string.quoted.single.nant
    endCaptures: 
      "0": 
        name: punctuation.definition.string.end.nant
    begin: "'"
    beginCaptures: 
      "0": 
        name: punctuation.definition.string.begin.nant
    end: "'"
- name: constant.character.entity.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: invalid.illegal.bad-ampersand.nant
  match: "&"
foldingStopMarker: />|</[^?>]+|-->
