aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2019-09-08 22:42:24 +0200
committerGitHub <noreply@github.com>2019-09-08 22:42:24 +0200
commit77a93957d3d03f41d7a71ad60b0e59b108b828be (patch)
tree676056fd8f91e5a5f4c21358595221d1a62393a1 /test
parent554566ccea09c680ada2a894ca875568515c48b7 (diff)
parent958ca938b44ea7d6f126887f5bec98ee6d2f6f15 (diff)
downloadrneovim-77a93957d3d03f41d7a71ad60b0e59b108b828be.tar.gz
rneovim-77a93957d3d03f41d7a71ad60b0e59b108b828be.tar.bz2
rneovim-77a93957d3d03f41d7a71ad60b0e59b108b828be.zip
Merge pull request #10777 from glacambre/fix_10042
ex_getln.c: fix <S-Tab> not triggering Pmenu when wildoptions=pum
Diffstat (limited to 'test')
-rw-r--r--test/functional/ui/popupmenu_spec.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/test/functional/ui/popupmenu_spec.lua b/test/functional/ui/popupmenu_spec.lua
index 3b4b281c81..ae2136f451 100644
--- a/test/functional/ui/popupmenu_spec.lua
+++ b/test/functional/ui/popupmenu_spec.lua
@@ -574,6 +574,22 @@ describe('ui/ext_popupmenu', function()
]])
feed('<esc>')
+ -- #10042: make sure shift-tab also triggers the pum
+ feed(':sign <S-tab>')
+ screen:expect{grid=[[
+ |
+ {1:~ }|
+ {1:~ }|
+ {1:~ }|
+ {1:~ }|
+ {1:~ }|
+ {1:~ }|
+ {1:~ }|
+ {1:~ }|
+ :sign unplace^ |
+ ]], popupmenu={items=wild_expected, pos=5, anchor={1, 9, 6}}}
+ feed('<esc>')
+
-- check positioning with multibyte char in pattern
command("e långfile1")
command("sp långfile2")
@@ -594,6 +610,7 @@ describe('ui/ext_popupmenu', function()
items = {{"långfile1", "", "", "" }, {"långfile2", "", "", ""}},
pos = 0,
}}
+
end)
end)