aboutsummaryrefslogtreecommitdiff
path: root/test/functional/legacy/ex_mode_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-04-21 07:50:02 +0800
committerGitHub <noreply@github.com>2022-04-21 07:50:02 +0800
commita4b75010ba9ce315f769f0b028f58b9657bdecf0 (patch)
tree6555303656b2dfe77c556ffad21eb1ee6925ade0 /test/functional/legacy/ex_mode_spec.lua
parentc6dcc6acd84adbaed8e6bcba0cb5e42bffdf1732 (diff)
parentf9c8ba0b8594d24168004c731c5fe33ae0f9a4df (diff)
downloadrneovim-a4b75010ba9ce315f769f0b028f58b9657bdecf0.tar.gz
rneovim-a4b75010ba9ce315f769f0b028f58b9657bdecf0.tar.bz2
rneovim-a4b75010ba9ce315f769f0b028f58b9657bdecf0.zip
Merge pull request #18180 from zeertzjq/vim-8.2.4792
vim-patch:8.2.{0358,4792,4794}: indent operator creates an undo entry for every line
Diffstat (limited to 'test/functional/legacy/ex_mode_spec.lua')
-rw-r--r--test/functional/legacy/ex_mode_spec.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/functional/legacy/ex_mode_spec.lua b/test/functional/legacy/ex_mode_spec.lua
index 44719027a6..244b6bf00f 100644
--- a/test/functional/legacy/ex_mode_spec.lua
+++ b/test/functional/legacy/ex_mode_spec.lua
@@ -32,5 +32,11 @@ describe('Ex mode', function()
test_ex_edit(' foo', ' foo<C-d>')
test_ex_edit(' foo0', ' foo0<C-d>')
test_ex_edit(' foo^', ' foo^<C-d>')
+ test_ex_edit('foo', '<BS><C-H><Del><kDel>foo')
+ -- default wildchar <Tab> interferes with this test
+ command('set wildchar=<c-e>')
+ test_ex_edit('a\tb', 'a\t\t<C-H>b')
+ test_ex_edit('\tm<C-T>n', '\tm<C-T>n')
+ command('set wildchar&')
end)
end)