diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-29 21:00:58 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-29 21:12:48 +0800 |
commit | 7ac5359143ef25c4c8c0c427d5533f8d5824ed17 (patch) | |
tree | 50a8f20df8aa6b883a7cb2da0bcda564bd12c5dd /test/functional/ui/input_spec.lua | |
parent | 98f62a2cfa98363217fdfcf96b6c636e91dba84d (diff) | |
download | rneovim-7ac5359143ef25c4c8c0c427d5533f8d5824ed17.tar.gz rneovim-7ac5359143ef25c4c8c0c427d5533f8d5824ed17.tar.bz2 rneovim-7ac5359143ef25c4c8c0c427d5533f8d5824ed17.zip |
feat(mappings): do not simplify the rhs of a mapping
Diffstat (limited to 'test/functional/ui/input_spec.lua')
-rw-r--r-- | test/functional/ui/input_spec.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/functional/ui/input_spec.lua b/test/functional/ui/input_spec.lua index 0f4e97088c..07582ba602 100644 --- a/test/functional/ui/input_spec.lua +++ b/test/functional/ui/input_spec.lua @@ -313,6 +313,11 @@ it('unsimplified mapping works when there was a partial match vim-patch:8.2.4504 expect('xb') end) +it('rhs of a mapping is not simplified', function() + command('nnoremap <Plug>foo <C-J>') + eq('<C-J>', funcs.maparg('<Plug>foo')) +end) + describe('input non-printable chars', function() after_each(function() os.remove('Xtest-overwrite') |