message: Handle the optional argument of \marginpar
diff: </dict>
  </array>
  </dict>
  -
  <dict>
  <key>begin</key>
  <string>(?:\s*)((\\)begin)(\{)(\w+[*]?)(\})</string>
  </dict>
  <dict>
  <key>begin</key>
  - <string>((\\)marginpar)(\{)</string>
  + <string>((\\)marginpar)((?:\[[^\[]*?\])*)(\{)</string>
  <key>beginCaptures</key>
  <dict>
  <key>1</key>
  <string>punctuation.definition.function.latex</string>
  </dict>
  <key>3</key>
  + <dict>
  + <key>patterns</key>
  + <array>
  + <dict>
  + <key>include</key>
  + <string>#optional-arg</string>
  + </dict>
  + </array>
  + </dict>
  + <key>4</key>
  <dict>
  <key>name</key>
  <string>punctuation.definition.marginpar.begin.latex</string>
  <key>patterns</key>
  <array>
  <dict>
  - <key>captures</key>
  - <dict>
  - <key>1</key>
  - <dict>
  - <key>name</key>
  - <string>punctuation.definition.arguments.begin.latex</string>
  - </dict>
  - <key>2</key>
  - <dict>
  - <key>name</key>
  - <string>variable.parameter.latex</string>
  - </dict>
  - <key>3</key>
  - <dict>
  - <key>name</key>
  - <string>punctuation.definition.arguments.end.latex</string>
  - </dict>
  - </dict>
  - <key>match</key>
  - <string>(\[)([^\[]*?)(\])</string>
  + <key>include</key>
  + <string>#optional-arg</string>
  </dict>
  </array>
  </dict>
  @@ -1798,6 +1789,37 @@ Put specific matches for particular LaTeX keyword.functions before the last two
  <string>text.tex</string>
  </dict>
  </array>
  + <key>repository</key>
  + <dict>
  + <key>optional-arg</key>
  + <dict>
  + <key>patterns</key>
  + <array>
  + <dict>
  + <key>captures</key>
  + <dict>
  + <key>1</key>
  + <dict>
  + <key>name</key>
  + <string>punctuation.definition.optional.arguments.begin.latex</string>
  + </dict>
  + <key>2</key>
  + <dict>
  + <key>name</key>
  + <string>variable.parameter.latex</string>
  + </dict>
  + <key>3</key>
  + <dict>
  + <key>name</key>
  + <string>punctuation.definition.optional.arguments.end.latex</string>
  + </dict>
  + </dict>
  + <key>match</key>
  + <string>(\[)([^\[]*?)(\])</string>
  + </dict>
  + </array>
  + </dict>
  + </dict>
  <key>scopeName</key>
  <string>text.tex.latex</string>
  <key>uuid</key>
  