From d989051220a5137e7490ca5020225da109e0af0b Mon Sep 17 00:00:00 2001 From: Matthew Malcomson Date: Wed, 24 Jan 2018 13:09:22 +0000 Subject: [PATCH] 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. --- test/functional/options/keymap_spec.lua | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/functional/options/keymap_spec.lua b/test/functional/options/keymap_spec.lua index ff78348517..e1424cb8fe 100644 --- a/test/functional/options/keymap_spec.lua +++ b/test/functional/options/keymap_spec.lua @@ -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') + 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')