fix: forgor to tell helix to display sequence labels

pull/3958/head
Vulpesx 2024-06-06 15:48:56 +10:00 committed by Matthew Cheely
parent f224397de7
commit ba9a21921d
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ impl KeyTrieNode {
cmd.doc() cmd.doc()
} }
KeyTrie::Node(n) => &n.name, KeyTrie::Node(n) => &n.name,
KeyTrie::Sequence(..) => KeyTrie::DEFAULT_SEQUENCE_LABEL, KeyTrie::Sequence(l, ..) => l,
}; };
match body.iter().position(|(_, d)| d == &desc) { match body.iter().position(|(_, d)| d == &desc) {
Some(pos) => { Some(pos) => {