but how to pass arbitrary chars to the config

This commit is contained in:
🪞👃🪞 2025-01-12 02:23:39 +01:00
parent f485a068a8
commit 19ed6a24b8
11 changed files with 627 additions and 644 deletions

View file

@ -18,7 +18,7 @@ impl EdnKeymap {
for item in self.0.iter() {
if let Exp(items) = item {
match items.as_slice() {
[Key(a), b, c @ ..] => if input.matches(a.as_str()) {
[Sym(a), b, c @ ..] => if input.matches(a.as_str()) {
return Some(E::from_edn(state, &b.to_ref(), c))
},
_ => unreachable!()