From 64f83dfcbd3e093a31b2ef6bd787161ea8904583 Mon Sep 17 00:00:00 2001 From: Ivan Tham Date: Thu, 1 Jul 2021 09:33:44 +0800 Subject: [PATCH] Support infobox doc gen on stable release --- helix-term/src/commands.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index 9d3a5df9..b6f3c11f 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -3426,7 +3426,13 @@ macro_rules! mode_info { #[doc = ""] $( #[doc = ""]
keydesc
"] - #[doc = mode_info!(@join $($key),+)] + // TODO switch to this once we use rust 1.54 + // right now it will produce multiple rows + // #[doc = mode_info!(@join $($key),+)] + $( + #[doc = $key] + )+ + // <- #[doc = ""] #[doc = $desc] #[doc = "