     name: 'comment.line.percentage.latex'
     begin: '%'
     end: '$'
-    patterns: [{ include: '#magicComment' }]
+    patterns: [{ include: '#metaMagicComment' }]
   }
   escapedCurlyBracket: {
     comment: 'Escaped }. Possible deprecated by escapedCharacter.'

  metaPercent: {
    comment: 'This is called when there is a lone percent sign (escaped covered by metaControl).'
    patterns: [
      { include: '#magicComment' }
      { include: '#lineComment' }
    ]
  }

    match: '~'
  }
  metaAmpersand: {
    comment: 'The ampersand normally represents alignment (catcode 4). Probably not useful (or legal) outside of align or table environment. However, it should be left this way to let users implement custom syntax.'
    name: 'punctuation.alignment.latex'
    match: '&'
  }
