on master help sign in
Support infobox doc gen on stable release
64f83dfIvan Tham
helix-term/src/commands.rs+7−1
@@ -3426,7 +3426,13 @@ macro_rules! mode_info {
3426 #[doc = "<table><tr><th>key</th><th>desc</th></tr><tbody>"]
3426 #[doc = "<table><tr><th>key</th><th>desc</th></tr><tbody>"]
3427 $(
3427 $(
3428 #[doc = "<tr><td>"]
3428 #[doc = "<tr><td>"]
3429+ // TODO switch to this once we use rust 1.54
3430+ // right now it will produce multiple rows
3429− #[doc = mode_info!(@join $($key),+)]
3431+ // #[doc = mode_info!(@join $($key),+)]
3432+ $(
3433+ #[doc = $key]
3434+ )+
3435+ // <-
3430 #[doc = "</td><td>"]
3436 #[doc = "</td><td>"]
3431 #[doc = $desc]
3437 #[doc = $desc]
3432 #[doc = "</td></tr>"]
3438 #[doc = "</td></tr>"]