1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2025-11-23 21:54:45 +02:00

printer: add Cursor hyperlink alias

This is similar to the other aliases used by
VS Code forks.

PR #3192
This commit is contained in:
Enoch
2025-10-17 11:59:17 -07:00
committed by GitHub
parent b3dc4b0998
commit 38d630261a

View File

@@ -4,6 +4,11 @@ use crate::hyperlink::HyperlinkAlias;
///
/// These need to be sorted by name.
pub(super) const HYPERLINK_PATTERN_ALIASES: &[HyperlinkAlias] = &[
alias(
"cursor",
"Cursor scheme (cursor://)",
"cursor://file{path}:{line}:{column}",
),
prioritized_alias(
0,
"default",