pygments 2.5.0 (2019-11-26) ¶
Version 2.5.0 ¶
-
Added lexers:
-
Updated lexers:
-
Apache2 Configuration (PR#1251)
-
Bash sessions (#1253)
-
CSound (PR#1250)
-
Dart
-
Dockerfile
-
Emacs Lisp
-
Handlebars (PR#773)
-
Java (#1101, #987)
-
Logtalk (PR#1261)
-
Matlab (PR#1271)
-
Praat (PR#1277)
-
Python3 (PR#1255, PR#1400)
-
Ruby
-
YAML (#1528)
-
Velocity
-
-
Added styles:
-
Inkpot (PR#1276)
-
-
The
PythonLexer
class is now an alias for the formerPython3Lexer
. The oldPythonLexer
is available asPython2Lexer
. Same change has been done for thePythonTracebackLexer
. Thepython3
option for thePythonConsoleLexer
is now true by default. -
Bump
NasmLexer
priority overTasmLexer
for.asm
files (fixes #1326) -
Default font in the
ImageFormatter
has been updated (#928, PR#1245) -
Test suite switched to py.test, removed nose dependency (#1490)
-
Reduce
TeraTerm
lexer score – it used to match nearly all languages (#1256) -
Treat
Skylark
/Starlark
files as Python files (PR#1259) -
Image formatter: actually respect
line_number_separator
option -
Add LICENSE file to wheel builds
-
Agda: fix lambda highlighting
-
Dart: support
@
annotations -
Dockerfile: accept
FROM ... AS
syntax -
Emacs Lisp: add more string functions
-
GAS: accept registers in directive arguments
-
Java: make structural punctuation (braces, parens, colon, comma)
Punctuation
, notOperator
(#987) -
Java: support
var
contextual keyword (#1101) -
Matlab: Fix recognition of
function
keyword (PR#1271) -
Python: recognize
.jy
filenames (#976) -
Python: recognize
f
string prefix (#1156) -
Ruby: support squiggly heredocs
-
Shell sessions: recognize Virtualenv prompt (PR#1266)
-
Velocity: support silent reference syntax