aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Malcomson <hardenedapple@gmail.com>2017-06-02 15:23:18 +0100
committerMatthew Malcomson <hardenedapple@gmail.com>2018-03-14 10:39:14 +0000
commite01f35c4bb95ce81eebdba8c8b53d73964508e73 (patch)
treed951050bca85bf4524fed5984fa24a084889dcf2
parent9beaf84d2f2bdef8e0400db78c364806008226f2 (diff)
downloadrneovim-e01f35c4bb95ce81eebdba8c8b53d73964508e73.tar.gz
rneovim-e01f35c4bb95ce81eebdba8c8b53d73964508e73.tar.bz2
rneovim-e01f35c4bb95ce81eebdba8c8b53d73964508e73.zip
:lnoremap mappings should not be remapped when replaying a recording
-rw-r--r--test/functional/options/keymap_spec.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/options/keymap_spec.lua b/test/functional/options/keymap_spec.lua
index ffb76a42bd..ff78348517 100644
--- a/test/functional/options/keymap_spec.lua
+++ b/test/functional/options/keymap_spec.lua
@@ -181,8 +181,10 @@ describe("'keymap' / :lmap", function()
command('lmapclear')
command('lnoremap l a')
command('imap a x')
- feed('il<esc>')
+ feed('qail<esc>q')
expect('alllaaa')
+ feed('@a')
+ expect('aalllaaa')
end)
it("is applied when using f/F t/T", function()
feed('flx')