aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2021-01-04 11:14:07 +0100
committerGitHub <noreply@github.com>2021-01-04 11:14:07 +0100
commit5fcc247c6ec0eaf8a631246b1cde8f55cc287a95 (patch)
tree86e50148c6c5b1e83bf8a10fe547b7b14d6f6d24 /test
parenta1ed941a7881122fda2fd48e71e890ed55e4d08e (diff)
parent4cdc8b1efdc7a67d24c7193ef67839924eb7d5c0 (diff)
downloadrneovim-5fcc247c6ec0eaf8a631246b1cde8f55cc287a95.tar.gz
rneovim-5fcc247c6ec0eaf8a631246b1cde8f55cc287a95.tar.bz2
rneovim-5fcc247c6ec0eaf8a631246b1cde8f55cc287a95.zip
Merge pull request #11906 from bfredl/moreblock
consider "-- more --" state to be blocking
Diffstat (limited to 'test')
-rw-r--r--test/functional/api/vim_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/api/vim_spec.lua b/test/functional/api/vim_spec.lua
index c42d5c34cc..30128e9c40 100644
--- a/test/functional/api/vim_spec.lua
+++ b/test/functional/api/vim_spec.lua
@@ -972,6 +972,12 @@ describe('API', function()
nvim("input", "gu")
eq({mode='no', blocking=false}, nvim("get_mode"))
end)
+
+ it("at '-- More --' prompt returns blocking=true #11899", function()
+ command('set more')
+ feed(':digraphs<cr>')
+ eq({mode='rm', blocking=true}, nvim("get_mode"))
+ end)
end)
describe('RPC (K_EVENT) #6166', function()