aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/substitute_spec.lua
diff options
context:
space:
mode:
authorluukvbaal <luukvbaal@gmail.com>2025-01-02 15:40:39 +0100
committerGitHub <noreply@github.com>2025-01-02 06:40:39 -0800
commit43d552c56648bc3125c7509b3d708b6bf6c0c09c (patch)
tree0fe37677e6184c9229fce1a8d8dbb9e7f3dff6b4 /test/functional/legacy/substitute_spec.lua
parent48e2a73610ca5639408f79b3d8eebd3e5f57a327 (diff)
downloadrneovim-43d552c56648bc3125c7509b3d708b6bf6c0c09c.tar.gz
rneovim-43d552c56648bc3125c7509b3d708b6bf6c0c09c.tar.bz2
rneovim-43d552c56648bc3125c7509b3d708b6bf6c0c09c.zip
feat(ui): more intuitive :substitute confirm prompt #31787
Problem: Unknown key mappings listed in substitute confirm message. Solution: Include hints as to what the key mappings do.
Diffstat (limited to 'test/functional/legacy/substitute_spec.lua')
-rw-r--r--test/functional/legacy/substitute_spec.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/functional/legacy/substitute_spec.lua b/test/functional/legacy/substitute_spec.lua
index 0081371f7f..30ff13140f 100644
--- a/test/functional/legacy/substitute_spec.lua
+++ b/test/functional/legacy/substitute_spec.lua
@@ -220,8 +220,10 @@ describe(':substitute', function()
{2:o}ne |
two |
three |
- {1:~ }|*4
- {6:replace with (y/n/a/q/l/^E/^Y)?}^ |
+ {1:~ }|*2
+ {3: }|
+ {6:replace with ? (y)es/(n)o/(a)ll/(q)uit/(l)ast/scroll up(^}|
+ {6:E)/down(^Y)}^ |
]])
end)
end)