mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
e01f35c4bb
commit
d989051220
@ -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')
|
||||
|
Loading…
Reference in New Issue
Block a user