main: support highlighting paths with specific styles

If there are styles starting with `*.`, consider these "glob matchers"
and style according to the matching glob. This allows users to color
paths matching patterns in any way desired.

Fixes: #605
This commit is contained in:
Ben Boeckel 2026-06-13 01:11:03 -04:00
commit f39e4bbdfb
3 changed files with 19 additions and 0 deletions

View file

@ -5,6 +5,10 @@
[#942]
- Highlight redirection targets as paths if possible [#982].
## Highlight paths with matching patterns
When matchers start with `*.`, the are treated as globs to further refine thee
highlighting of paths [#982].
# Changes in 0.8.0