Merge pull request #2134 from zed-industries/fix-action-keystroke-bugs
Fix several action dispatching bugs
This commit is contained in:
parent
f753a83eb1
commit
58b819e9a4
9 changed files with 89 additions and 50 deletions
|
@ -43,7 +43,7 @@ impl KeymapContextPredicate {
|
|||
pub fn eval(&self, contexts: &[KeymapContext]) -> bool {
|
||||
let Some(context) = contexts.first() else { return false };
|
||||
match self {
|
||||
Self::Identifier(name) => context.set.contains(name.as_str()),
|
||||
Self::Identifier(name) => (&context.set).contains(name.as_str()),
|
||||
Self::Equal(left, right) => context
|
||||
.map
|
||||
.get(left)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue