message: Factorize generic minted
diff: </dict>
  <dict>
  <key>begin</key>
  - <string>((\\)begin)(\{)(lstlisting|minted)(\})(?:(\[).*(\]))?</string>
  + <string>(\\begin\{(?:lstlisting|minted)\}(?:\[.*\])?)</string>
  <key>captures</key>
  <dict>
  <key>1</key>
  <dict>
  - <key>name</key>
  - <string>support.function.be.latex</string>
  - </dict>
  - <key>2</key>
  - <dict>
  - <key>name</key>
  - <string>punctuation.definition.function.latex</string>
  - </dict>
  - <key>3</key>
  - <dict>
  - <key>name</key>
  - <string>punctuation.definition.arguments.begin.latex</string>
  - </dict>
  - <key>4</key>
  - <dict>
  - <key>name</key>
  - <string>variable.parameter.function.latex</string>
  - </dict>
  - <key>5</key>
  - <dict>
  - <key>name</key>
  - <string>punctuation.definition.arguments.end.latex</string>
  - </dict>
  - <key>6</key>
  + <key>patterns</key>
  + <array>
  <dict>
  - <key>name</key>
  - <string>punctuation.definition.arguments.optional.begin.latex</string>
  + <key>include</key>
  + <string>#minted-env</string>
  </dict>
  - <key>7</key>
  - <dict>
  - <key>name</key>
  - <string>punctuation.definition.arguments.optional.end.latex</string>
  + </array>
  </dict>
  </dict>
  <key>contentName</key>
  <string>meta.function.embedded.latex</string>
  <key>end</key>
  - <string>((\\)end)(\{)(lstlisting|minted)(\})</string>
  + <string>(\\end\{(?:lstlisting|minted)\})</string>
  <key>name</key>
  <string>meta.embedded.block.generic</string>
  </dict>
  @@ -1949,7 +1924,7 @@ Put specific matches for particular LaTeX keyword.functions before the last two
  </dict>
  </dict>
  <key>match</key>
  - <string>((\\)(?:begin|end))(\{)(minted)(\})(?:(\[).*(\]))?(?:(\{)([a-z]*)(\}))?</string>
  + <string>((\\)(?:begin|end))(\{)(lstlisting|minted)(\})(?:(\[).*(\]))?(?:(\{)([a-z]*)(\}))?</string>
  </dict>
  <key>definition-label</key>
  <dict>
  