Skip to content

Commit

Permalink
Update Pygments to 2.10.0
Browse files Browse the repository at this point in the history
New lexers include ansys, apdl, asc, gcode, gsql, jslt, julia-repl,
kuin, meson, nestedtext, nodejsrepl, nt, omg-idl, output, pem, procfile,
pwsh, smithy, teal, thingsdb, ti, wast, wat.

Also "golang" is now an accepted alias for go.

The output lexer is a generic lexer that just makes everything look like
output, see <pygments/pygments#1835>.

Full upstream changelogs:
* https://github.com/pygments/pygments/releases/tag/2.10.0
* https://github.com/pygments/pygments/releases/tag/2.9.0
* https://github.com/pygments/pygments/releases/tag/2.8.1

Bug: T280117
Change-Id: I162dff1e3f3eb6f01e87dc09509b508f52aff46c
  • Loading branch information
legoktm committed Aug 27, 2021
1 parent 2e6487b commit b4f53c7
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
26 changes: 26 additions & 0 deletions SyntaxHighlight.lexers.php
Expand Up @@ -19,6 +19,7 @@
'ambienttalk/2' => true,
'amdgpu' => true,
'ampl' => true,
'ansys' => true,
'antlr' => true,
'antlr-actionscript' => true,
'antlr-as' => true,
Expand All @@ -33,13 +34,15 @@
'antlr-ruby' => true,
'apache' => true,
'apacheconf' => true,
'apdl' => true,
'apl' => true,
'applescript' => true,
'arduino' => true,
'arexx' => true,
'arrow' => true,
'as' => true,
'as3' => true,
'asc' => true,
'asm' => true,
'aspectj' => true,
'aspx-cs' => true,
Expand Down Expand Up @@ -238,6 +241,7 @@
'gap' => true,
'gas' => true,
'gawk' => true,
'gcode' => true,
'gd' => true,
'gdscript' => true,
'genshi' => true,
Expand All @@ -246,12 +250,14 @@
'glsl' => true,
'gnuplot' => true,
'go' => true,
'golang' => true,
'golo' => true,
'gooddata-cl' => true,
'gosu' => true,
'graphviz' => true,
'groff' => true,
'groovy' => true,
'gsql' => true,
'gst' => true,
'haml' => true,
'handlebars' => true,
Expand Down Expand Up @@ -354,13 +360,15 @@
'js+smarty' => true,
'js+spitfire' => true,
'jsgf' => true,
'jslt' => true,
'json' => true,
'json-ld' => true,
'json-object' => true,
'jsonld' => true,
'jsonml+bst' => true,
'jsp' => true,
'julia' => true,
'julia-repl' => true,
'juttle' => true,
'kal' => true,
'kconfig' => true,
Expand All @@ -370,6 +378,7 @@
'koka' => true,
'kotlin' => true,
'ksh' => true,
'kuin' => true,
'lagda' => true,
'lasso' => true,
'lassoscript' => true,
Expand Down Expand Up @@ -417,6 +426,8 @@
'mawk' => true,
'md' => true,
'menuconfig' => true,
'meson' => true,
'meson.build' => true,
'mf' => true,
'mime' => true,
'minid' => true,
Expand Down Expand Up @@ -452,6 +463,7 @@
'ncl' => true,
'nemerle' => true,
'nesc' => true,
'nestedtext' => true,
'newlisp' => true,
'newspeak' => true,
'ng2' => true,
Expand All @@ -461,11 +473,13 @@
'nit' => true,
'nix' => true,
'nixos' => true,
'nodejsrepl' => true,
'notmuch' => true,
'nroff' => true,
'nsh' => true,
'nsi' => true,
'nsis' => true,
'nt' => true,
'numpy' => true,
'nusmv' => true,
'obj-c' => true,
Expand All @@ -486,10 +500,12 @@
'ocaml' => true,
'octave' => true,
'odin' => true,
'omg-idl' => true,
'ooc' => true,
'opa' => true,
'openbugs' => true,
'openedge' => true,
'output' => true,
'pacmanconf' => true,
'pan' => true,
'parasail' => true,
Expand All @@ -498,6 +514,7 @@
'pawn' => true,
'pcmk' => true,
'peg' => true,
'pem' => true,
'perl' => true,
'perl6' => true,
'php' => true,
Expand All @@ -524,6 +541,7 @@
'pov' => true,
'powershell' => true,
'praat' => true,
'procfile' => true,
'progress' => true,
'prolog' => true,
'promql' => true,
Expand All @@ -537,6 +555,8 @@
'psysh' => true,
'pug' => true,
'puppet' => true,
'pwsh' => true,
'pwsh-session' => true,
'py' => true,
'py2' => true,
'py2tb' => true,
Expand Down Expand Up @@ -633,6 +653,7 @@
'smali' => true,
'smalltalk' => true,
'smarty' => true,
'smithy' => true,
'sml' => true,
'snobol' => true,
'snowball' => true,
Expand Down Expand Up @@ -667,6 +688,7 @@
'tcsh' => true,
'tcshcon' => true,
'tea' => true,
'teal' => true,
'teraterm' => true,
'teratermmacro' => true,
'termcap' => true,
Expand All @@ -675,7 +697,9 @@
'tex' => true,
'text' => true,
'tf' => true,
'thingsdb' => true,
'thrift' => true,
'ti' => true,
'tid' => true,
'tnt' => true,
'todotxt' => true,
Expand Down Expand Up @@ -714,6 +738,8 @@
'vgl' => true,
'vhdl' => true,
'vim' => true,
'wast' => true,
'wat' => true,
'wdiff' => true,
'webidl' => true,
'whiley' => true,
Expand Down
2 changes: 1 addition & 1 deletion pygments/VERSION
@@ -1 +1 @@
2.8.0
2.10.0
Binary file modified pygments/pygmentize
Binary file not shown.

0 comments on commit b4f53c7

Please sign in to comment.