     end:   "(</)(CsoundSynthesi[sz]er)(>)"
     beginCaptures:
       1: name: "punctuation.definition.tag.begin.csound-document"
-      2: name: "entity.name.tag.begin.csound-document"
-      3: name: "punctuation.definition.tag.begin.csound-document"
+      2: name: "entity.name.tag.csound-document"
+      3: name: "punctuation.definition.tag.end.csound-document"
     endCaptures:
-      1: name: "punctuation.definition.tag.end.csound-document"
-      2: name: "entity.name.tag.end.csound-document"
+      1: name: "punctuation.definition.tag.begin.csound-document"
+      2: name: "entity.name.tag.csound-document"
       3: name: "punctuation.definition.tag.end.csound-document"
     patterns: [
       {
-        name:  "meta.orchestra.csound-document"
         begin: "(<)(CsOptions)(>)"
         end:   "(</)(CsOptions)(>)"
         beginCaptures:
           1: name: "punctuation.definition.tag.begin.csound-document"
-          2: name: "entity.name.tag.begin.csound-document"
-          3: name: "punctuation.definition.tag.begin.csound-document"
+          2: name: "entity.name.tag.csound-document"
+          3: name: "punctuation.definition.tag.end.csound-document"
         endCaptures:
-          1: name: "punctuation.definition.tag.end.csound-document"
-          2: name: "entity.name.tag.end.csound-document"
+          1: name: "punctuation.definition.tag.begin.csound-document"
+          2: name: "entity.name.tag.csound-document"
           3: name: "punctuation.definition.tag.end.csound-document"
         patterns: [include: "source.csound#comments"]
       },{

  tags:
    patterns: [
      {
        begin: "(<)([0-9A-Za-z:-]+)(>)"
        end:   "(</)([0-9A-Za-z:-]+)(>)"
        beginCaptures:
          1: name: "punctuation.definition.tag.begin.csound-document"
          2: name: "entity.name.tag.begin.csound-document"
          3: name: "punctuation.definition.tag.begin.csound-document"
        endCaptures:
          1: name: "punctuation.definition.tag.end.csound-document"
          2: name: "entity.name.tag.end.csound-document"
          3: name: "punctuation.definition.tag.end.csound-document"
      }
    ]

        end:   "(</)(CsInstruments)(>)"
        beginCaptures:
          1: name: "punctuation.definition.tag.begin.csound-document"
          2: name: "entity.name.tag.csound-document"
          3: name: "punctuation.definition.tag.end.csound-document"
        endCaptures:
          1: name: "punctuation.definition.tag.begin.csound-document"
          2: name: "entity.name.tag.csound-document"
          3: name: "punctuation.definition.tag.end.csound-document"
        contentName: "source.csound.embedded.csound-document"
        patterns: [include: "source.csound"]
