Update to Pygments v2.19.2, add dep test

This commit is contained in:
CoeJoder
2025-07-11 14:41:38 -07:00
parent 9e66b505a3
commit c557d50f7e
3 changed files with 68 additions and 51 deletions

View File

@@ -46,7 +46,7 @@ export LESSOPEN='|~/.lessfilter %s'
```
### 4. Generate `.lessfilter` (optional)
This repo contains a pre-generated [.lessfilter](.lessfilter) which is currently at version `2.18.0` and is updated occasionally. You could use that and skip to the next step, even if its version lags behind that of Pygments (any unsupported file types would fallback to plain-text).
This repo contains a pre-generated [.lessfilter](.lessfilter) which is currently at version `2.19.2` and is updated occasionally. You could use that and skip to the next step, even if its version lags behind that of Pygments (any unsupported file types would fallback to plain-text).
You could also generate a `.lessfilter` yourself by running [main.py](main.py), which scrapes the Pygments lexer documentation website and produces a `.lessfilter` in this directory which corresponds to the latest published version:
```shell