Split :lnoremap test into done and pending

There is some behaviour that we keep with the recent changes, and some
behaviour that we change.
Instetad of having one failing test covering  all behaviour, we split
the test into two.
This commit is contained in:
Matthew Malcomson 2018-01-24 13:09:22 +00:00
parent e01f35c4bb
commit d989051220

View File

@ -178,6 +178,16 @@ describe("'keymap' / :lmap", function()
expect('xlllaaa')
end)
it("mappings not applied to keys gotten with :lnoremap", function()
command('lmapclear')
command('lnoremap l a')
command('imap a x')
feed('il<esc>')
expect('alllaaa')
end)
-- This is a problem introduced when introducting :lmap and macro
-- compatibility. There are no plans to fix this as the complexity involved
-- seems too great.
pending('mappings not applied to macro replay of :lnoremap', function()
command('lmapclear')
command('lnoremap l a')
command('imap a x')