Commit 1ddc842c1c
1ddc842c1c141f1c633d28a90498fd541e032ab4
parent: 444ee62b4f
Unregistered key
vaw <git@nlih.de> · 2026-09-22 17:09 UTC
committer: <noreply@github.com>
Remove commented-out code (#729)
Layout: unified · split
docs/iamb.1
+1 −1
| @@ -261,7 +261,7 @@ Delete the room's canonical alias. |
| 261 | 261 | Show the room's canonical alias, if any is set. |
| 262 | 262 | .It Sy ":room history show" |
| 263 | 263 | Show the history visibility setting for the current room. |
| 264 | | .It Sy ":room history set [mode]" .\" TODO: get options |
| 264 | .It Sy ":room history set [mode]" .\" XXX: get options |
| 265 | 265 | Set the history visibility for the current room. |
| 266 | 266 | Valid modes are |
| 267 | 267 | .Dq invited |
src/completions.rs
+2 −4
| @@ -188,8 +188,6 @@ mod parse { |
| 188 | 188 | pub fn parse_started_strings(input: &str) -> IResult<&str, (Vec<String>, &str)> { |
| 189 | 189 | let (input, (mut args, mut last_arg_raw)) = |
| 190 | 190 | separated_list0_last_raw(space1, parse_string).parse(input)?; |
| 191 | | // let (input, mut args) = separated_list0_last_raw(space1, parse_string).parse(input)?; |
| 192 | | // let last_arg_raw = todo!(); |
| 193 | 191 | |
| 194 | 192 | let (input, end_arg) = if args.is_empty() { |
| 195 | 193 | opt(parse_last_arg).parse(input)? |
| @@ -409,7 +407,7 @@ fn complete_iamb_create(args: Vec<String>) -> Vec<String> { |
| 409 | 407 | } |
| 410 | 408 | |
| 411 | 409 | /// Tab completion for `:room` |
| 412 | | // TODO: Check whether we can get the id of the focused room to improve |
| 410 | // XXX: Check whether we can get the id of the focused room to improve |
| 413 | 411 | // "kick","ban","unban", ".. unset" and "dm/tag set/unset" |
| 414 | 412 | fn complete_iamb_room(args: Vec<String>, store: &ChatStore) -> Vec<String> { |
| 415 | 413 | let subcmds = [ |
| @@ -602,7 +600,7 @@ fn complete_cmdarg( |
| 602 | 600 | |
| 603 | 601 | "space" => complete_iamb_space(args, store), |
| 604 | 602 | |
| 605 | | // TODO: Check whether we can get the id of the focused message to improve completion |
| 603 | // XXX: Check whether we can get the id of the focused message to improve completion |
| 606 | 604 | "unreact" if args.len() == 1 => complete_emoji(&args[0], store), |
| 607 | 605 | "unreact" => vec![], |
| 608 | 606 | |
src/windows/mod.rs
+1 −1
| @@ -60,7 +60,7 @@ fn name_and_labels<'a>( |
| 60 | 60 | room_membership: MatrixRoomState, |
| 61 | 61 | style: Style, |
| 62 | 62 | ) -> (Span<'a>, Vec<Vec<Span<'static>>>) { |
| 63 | | // TODO: use different colors for "mention", "notification", "muted room" |
| 63 | // XXX: use different colors for "mention", "notification", "muted room" |
| 64 | 64 | let name_style = if unread.is_unread() { |
| 65 | 65 | style.add_modifier(StyleModifier::BOLD) |
| 66 | 66 | } else { |