-
Added lexers:
-
Updated lexers:
- ABNF: Allow one-character rules (#1804)
- Assembly: Fix incorrect token endings (#1895, #1961)
- Bibtex: Distinguish between
comment
andcommentary
(#1899, #1806) - C family: Support unicode identifiers (#1848)
- CDDL: Fix slow lexing speed (#1959)
- Debian control: Add missing fields (#1946)
- Devicetree: Recognize hexadecimal addresses for nodes (#1949)
- GDScript: Add
void
data type (#1948) - GSQL
- HTML, XML: Improve comment handling (#1896)
- Java: Add
yield
(#1941) and sealed classes/record (#1902) - Makefiles (#1860, #1898)
- objdump-nasm: Improve handling of
--no-show-raw-insn
dumps (#1981) - Prolog: Support escaped
\
inside quoted strings (#1479) - Python:
- RobotFramework: Improve empty brace handling (#1921, #1922)
- Terraform
-
Added styles:
-
There is new infrastructure in place to improve style accessibility. The default style has been updated to conform to WCAG recommendations. All styles are now checked for sufficient contrast by default to prevent regressions. (#1919, #1937, #1938, #1940)
-
Clean up unused imports (#1887)
-
Fix multiple lexers producing repeated single-character tokens
-
Fix multiple lexers marking whitespace as
Text
(#1237, #1905, #1908, #1914, #1911, #1923, #1939, #1957, #1978) -
Remove duplicated assignments in the Paraiso style (#1934)
-
pygmentize
supports JSON output for the various list functions now, making it easier to consume them from scripts. (#1437, #1890) -
Use the
shell
lexer forkshrc
files (#1947) -
Use the
ruby
lexer forVagrantfile
files (#1936) -
Use the C lexer for
.xbm
and.xpm
files (#1802) -
Add a
groff
formatter (#1873) -
Update documentation (#1928)
-
Line anchors now link to themselves (#1973)
-
Add official support for Python 3.10 (#1917)
-
Fix several missing colors in dark styles: Gruvbox dark, Monokai, Rrt, Sas, Strata dark (#1955)
-
Associate more file types with
man
pages -
The
HtmlFormatter
can now emit tooltips for each token to ease debugging of lexers (#1822) -
Add
f90
as an alias forfortran
(#2000)