       { include: '#lineComment' }
       {
         comment: 'Does not look for matching, just shows it is there'
-        match: '(\\$\\$)|(\\$)'
+        match: '(\\$\\$)|(\\$)|(\\{)|(\\})'
         captures:
           1: name: 'string.other.math.display.latex'
           2: name: 'string.other.math.inline.latex'
+          3: name: 'punctuation.definition.group.begin.latex'
+          4: name: 'punctuation.definition.group.end.latex'
       }
     ]
   }

    patterns: [
      {
        comment: 'Simplify syntax highlighting until the next magic syntax comment'
        begin: '% !(?>T[eE]X) syntax = plain'
        beginCaptures: 0: name: 'keyword.control.magic.syntax.plain.latex'
        end: '(?=% !T[eE]X syntax)'
        contentName: 'meta.syntax.plain.latex'

      }
      {
        comment: 'Forces mathmode until the next magic syntax comment'
        begin: '% !(?>T[eE]X) syntax\\s*=\\s*math\\s*$'
        beginCaptures: 0: name: 'keyword.control.magic.syntax.math.latex'
        end: '(?=% !T[eE]X syntax)'
        contentName: 'string.other.math.latex'
