revert: "feat(mappings): do not simplify the rhs of a mapping" (#18553)

This reverts commit 7ac5359143.
This fix can cause more problems than it solves.
This commit is contained in:
zeertzjq
2022-05-13 11:31:17 +08:00
committed by GitHub
parent 233c41cb8c
commit 030417d80b
3 changed files with 3 additions and 9 deletions

View File

@@ -313,11 +313,6 @@ 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')