       1:
         name: 'punctuation.definition.argument.begin.latex'
       2:
-        name: 'variable.parameter.argument.latex'
+        name: 'variable.parameter.argument.$2.latex'
       3:
         name: 'punctuation.definition.argument.end.latex'
     patterns: [

      1:
        name: 'punctuation.definition.argument.begin.latex'
      2:
        name: 'variable.parameter.argument.latex'
      3:
        name: 'punctuation.definition.argument.end.latex'
    end: '\\\\end(\\{)(\\2)(\\})'

  }
  envGeneric: {
    comment: 'Matches environments not recognised by other rules. Less lenient with random formatting here, it is expected to all be on one line.'
    contentName: 'meta.environment.$2.latex'
    begin: '\\\\begin(\\{)([\\w \\*]*)(\\})'
    beginCaptures:
      0:
