       3:
         name: 'punctuation.definition.argument.end.latex'
     patterns: [
-      { include: '$base' }
+      { include: '$self' }
     ]
   }
   listEnvironment: {

        name: 'support.function.makeat.latex'
    patterns: [
      { include: '#controlWordWithAt' }
      { include: '$base'}
    ]
  }
  inputFile: {

    patterns: [
      comment: 'Optimisation good to implement here. Rework metaComment to be a more general check for escaped characters and comments'
      {
        include: '#escapedCharacter' # for an escaped %. Possible deprecated by $self match
      }
      { include: '#lineComment' }
      { include: '$self' }
    ]
  }
  metaCloseBrace: {
