From 443d2c84351f70630e28795e3d05ea41453cb4f3 Mon Sep 17 00:00:00 2001 From: Nikita Revenco <154856872+NikitaRevenco@users.noreply.github.com> Date: Mon, 27 Jan 2025 22:24:43 +0000 Subject: [PATCH] docs: add informational comments --- helix-term/src/ui/markdown.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/helix-term/src/ui/markdown.rs b/helix-term/src/ui/markdown.rs index 6629ada4a..98dfff8ea 100644 --- a/helix-term/src/ui/markdown.rs +++ b/helix-term/src/ui/markdown.rs @@ -72,6 +72,8 @@ pub fn highlighted_code_block<'a>( Box::new(highlight_iter) }; + // Apply custom rendering rules to Helix code blocks. + // These render selections as if in the real editor. if language == "helix" { let (text, selections) = print(text);