diff options
author | notomo <notomo.motono@gmail.com> | 2019-07-28 07:44:28 +0900 |
---|---|---|
committer | notomo <notomo.motono@gmail.com> | 2019-07-28 08:00:52 +0900 |
commit | 08c7e206cc3f45b4185a3ca33ce2c4616f699cca (patch) | |
tree | 8d3743e3c33f2eae1e7ef9d52cf129fb6a8168ab /test/functional/api/keymap_spec.lua | |
parent | 7f5a113f659fc88c2e9566c3dcdc1c8f0beccc5a (diff) | |
download | rneovim-08c7e206cc3f45b4185a3ca33ce2c4616f699cca.tar.gz rneovim-08c7e206cc3f45b4185a3ca33ce2c4616f699cca.tar.bz2 rneovim-08c7e206cc3f45b4185a3ca33ce2c4616f699cca.zip |
vim-patch:8.1.1759: no mode char for terminal mapping from maparg()
Problem: No mode char for terminal mapping from maparg().
Solution: Check for TERMINAL mode. (closes vim/vim#4735)
https://github.com/vim/vim/commit/14371ed69778107654e39268d0d90982e53ad6e0
Diffstat (limited to 'test/functional/api/keymap_spec.lua')
-rw-r--r-- | test/functional/api/keymap_spec.lua | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/functional/api/keymap_spec.lua b/test/functional/api/keymap_spec.lua index b3f6bb7895..73c55a342c 100644 --- a/test/functional/api/keymap_spec.lua +++ b/test/functional/api/keymap_spec.lua @@ -346,11 +346,6 @@ describe('nvim_set_keymap, nvim_del_keymap', function() to_return.sid = not opts.sid and 0 or opts.sid to_return.buffer = not opts.buffer and 0 or opts.buffer - -- mode 't' doesn't print when calling maparg - if mode == 't' then - to_return.mode = '' - end - return to_return end |