keymap validation: Improve message for action that takes no input (#37877)

See
https://github.com/zed-industries/zed/issues/26370#issuecomment-3200022302

Before (user screenshot):

<img width="650" height="127" alt="Image"
src="https://github.com/user-attachments/assets/9548ce43-657e-46ef-b6be-b95489167ac2"
/>

After (my screenshot):

<img width="616" height="229" alt="image"
src="https://github.com/user-attachments/assets/09028305-e7bb-4a31-bb87-55effbec26f3"
/>

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-09-09 20:56:29 +00:00
committed by GitHub
parent 304af661a0
commit 2f40a3bdfa
2 changed files with 39 additions and 21 deletions
+1 -1
View File
@@ -490,7 +490,7 @@ Vim mode comes with shortcuts to surround the selection in normal mode (`ys`), b
{
"context": "vim_mode == visual",
"bindings": {
"shift-s": ["vim::PushAddSurrounds", {}]
"shift-s": "vim::PushAddSurrounds"
}
}
```