aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Tham2021-07-01 01:33:44 +0000
committerBlaž Hrastnik2021-07-04 09:01:59 +0000
commit64f83dfcbd3e093a31b2ef6bd787161ea8904583 (patch)
tree2c1ac245536a4df52ac6c6edd88d0b4f67306ad2
parent61e925cbed48ed4b6c629d611ba65e2f5ab33acc (diff)
Support infobox doc gen on stable release
-rw-r--r--helix-term/src/commands.rs8
1 files changed, 7 insertions, 1 deletions
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 = "<table><tr><th>key</th><th>desc</th></tr><tbody>"]
$(
#[doc = "<tr><td>"]
- #[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 = "</td><td>"]
#[doc = $desc]
#[doc = "</td></tr>"]