From 38d630261aded3a8e535fe85761e68af35bc462d Mon Sep 17 00:00:00 2001 From: Enoch Date: Fri, 17 Oct 2025 11:59:17 -0700 Subject: [PATCH] printer: add Cursor hyperlink alias This is similar to the other aliases used by VS Code forks. PR #3192 --- crates/printer/src/hyperlink/aliases.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/crates/printer/src/hyperlink/aliases.rs b/crates/printer/src/hyperlink/aliases.rs index faefb200..3db34e01 100644 --- a/crates/printer/src/hyperlink/aliases.rs +++ b/crates/printer/src/hyperlink/aliases.rs @@ -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",