printer: deduplicate hyperlink alias names
This exports a new `HyperlinkAlias` type in the `grep-printer` crate. This includes a "display priority" with each alias and a function for getting all supported aliases from the crate. This should hopefully make it possible for downstream users of this crate to include a list of supported aliases in the documentation. Closes #3103
This commit is contained in:
committed by
Andrew Gallant
parent
fdfda9ae73
commit
66aa4a63bb
1159
crates/printer/src/hyperlink/mod.rs
Normal file
1159
crates/printer/src/hyperlink/mod.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user