Bump pygments from 2.2.0 to 2.9.0
Bumps pygments from 2.2.0 to 2.9.0.
Release notes
Sourced from pygments's releases.
2.9.0
Added lexers:
Updated lexers:
- AMDGPU (#1717, #1775)
- APL (#1747)
- C/C++: Improve namespace handling (#1722, #1561, #1719, #1746)
- Chapel (#1743)
- Coq (#1721)
- Cython (#853)
- Groovy (#1765)
- JavaScript (#1741)
- Julia (#1715)
- Octave: Allow multiline and block-percent comments (#1726)
- PowerShell: Improve lexing of
:(#1682, #1758)- PromQL (#1783)
- Python: Improve float parsing (#1768, #1740)
- Rust (#1061)
- Scala: Rewrite to support Scala3 (#1694, #1035, #1121)
- Swift (#1767)
- Terraform: Support 0.14 syntax (#1756)
- Velocity: Detect multi-line patterns (#1776)
Add Pango formatter (#1727)
Autopygmentize uses
filefirst instead ofpygments -N(#1786)Fix links (#1716)
Fix issue with LaTeX formatter and
minted(#1734, #1735, #1736, #1737)Improve alias order (#1780)
Fix CTag related issue (#1724)
Recognize
.leexas Elixir templatesUpdated
filenamehandling in HTML formatter iflinenos='table'(#1757)
- Previously the filename would be emitted within the
<td>holding the code, but outside the<pre>. This would invariably break the a lignment with line numbers.- Now if
filenameis specified, a separate<tr>is emitted before the table content which contains a single<th>withcolspan=2so it spans both the line number and code columns. The filename is still within<span class="filename">...</span>so any existing styles should still apply, although the CSS path may need to change.- For an example of the new output format see
table_cls_step_1_start_1_special_0_noanchor_filename.htmlin thetests/html_linenos_expected_output/directory.- For more details and discussion see the issue pygments/pygments#1757
... (truncated)
Changelog
Sourced from pygments's changelog.
Version 2.9.0
(released May 3rd, 2021)
Added lexers:
Updated lexers:
- AMDGPU (#1717, #1775)
- APL (#1747)
- C/C++: Improve namespace handling (#1722, #1561, #1719, #1746)
- Chapel (#1743)
- Coq (#1721)
- Cython (#853)
- Groovy (#1765)
- JavaScript (#1741)
- Julia (#1715)
- Octave: Allow multiline and block-percent comments (#1726)
- PowerShell: Improve lexing of
:(#1682, #1758)- PromQL (#1783)
- Python: Improve float parsing (#1768, #1740)
- Rust (#1061)
- Scala: Rewrite to support Scala3 (#1694, #1035, #1121)
- Swift (#1767)
- Terraform: Support 0.14 syntax (#1756)
- Velocity: Detect multi-line patterns (#1776)
Add Pango formatter (#1727)
Autopygmentize uses
filefirst instead ofpygments -N(#1786)Fix links (#1716)
Fix issue with LaTeX formatter and
minted(#1734, #1735, #1736, #1737)Improve alias order (#1780)
Fix CTag related issue (#1724)
Recognize
.leexas Elixir templatesUpdated
filenamehandling in HTML formatter iflinenos='table'(#1757)
- Previously the filename would be emitted within the
<td>holding the code, but outside the<pre>. This would invariably break the alignment with line numbers.- Now if
filenameis specified, a separate<tr>is emitted before the
... (truncated)
Commits
2c0ca2ePrepare 2.9.0 release.708b1a7Update CHANGES.631e8cfAdd support for elixir phoenix leex templates (#1577)46c3ddcUpdate CHANGES.3752e98groovy lexer: detect quoted function names (#1765)30cfa26encodestrintobytesfor_lookup_ctagargument; (#1724)ac40a66Support Terraform 0.14 syntax (#1756)7f85893Support for OMG IDL (#1595)f0b806fautopygmentize: use file before pygmentize; add JSON support (#1786)f0d433dAdd gruvbox styles (#1763)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) -
@dependabot use these labelswill set the current labels as the default for future PRs for this repo and language -
@dependabot use these reviewerswill set the current reviewers as the default for future PRs for this repo and language -
@dependabot use these assigneeswill set the current assignees as the default for future PRs for this repo and language -
@dependabot use this milestonewill set the current milestone as the default for future PRs for this repo and language -
@dependabot badge mewill comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot dashboard:
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)