keymap: Detect and report errors for uppercase keybindings (#27558)
Closes #25353 Detect keybindings using upper case instead of lowercase, and report an error Release Notes: - N/A
This commit is contained in:
parent
3b158461be
commit
8e12eb0ab1
5 changed files with 123 additions and 58 deletions
|
@ -1349,12 +1349,12 @@ async fn test_sneak(cx: &mut gpui::TestAppContext) {
|
|||
Some("vim_mode == normal"),
|
||||
),
|
||||
KeyBinding::new(
|
||||
"S",
|
||||
"shift-s",
|
||||
PushSneakBackward { first_char: None },
|
||||
Some("vim_mode == normal"),
|
||||
),
|
||||
KeyBinding::new(
|
||||
"S",
|
||||
"shift-s",
|
||||
PushSneakBackward { first_char: None },
|
||||
Some("vim_mode == visual"),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue