aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/keymap_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-03-02 08:14:39 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-03-02 08:15:29 +0800
commit9a5a3c699eb369eb76f32800012aacec2cb33e0b (patch)
tree6c54dddc3a3842e89bb617f3c83e32833abecb2a /test/functional/api/keymap_spec.lua
parented1a9c310df178e1163c910f70b194a657ad055a (diff)
downloadrneovim-9a5a3c699eb369eb76f32800012aacec2cb33e0b.tar.gz
rneovim-9a5a3c699eb369eb76f32800012aacec2cb33e0b.tar.bz2
rneovim-9a5a3c699eb369eb76f32800012aacec2cb33e0b.zip
test: move two mapping tests to ex_cmds/map_spec.lua
Diffstat (limited to 'test/functional/api/keymap_spec.lua')
-rw-r--r--test/functional/api/keymap_spec.lua18
1 files changed, 0 insertions, 18 deletions
diff --git a/test/functional/api/keymap_spec.lua b/test/functional/api/keymap_spec.lua
index 6562b40d53..c0edcde476 100644
--- a/test/functional/api/keymap_spec.lua
+++ b/test/functional/api/keymap_spec.lua
@@ -880,24 +880,6 @@ describe('nvim_set_keymap, nvim_del_keymap', function()
eq("\nn lhs rhs\n map description",
helpers.exec_capture("nmap lhs"))
end)
-
- it ('can :filter maps based on description', function()
- meths.set_keymap('n', 'asdf1', 'qwert', {desc='do the one thing'})
- meths.set_keymap('n', 'asdf2', 'qwert', {desc='doesnot really do anything'})
- meths.set_keymap('n', 'asdf3', 'qwert', {desc='do the other thing'})
- eq([[
-
-n asdf3 qwert
- do the other thing
-n asdf1 qwert
- do the one thing]],
- helpers.exec_capture('filter the nmap'))
- end)
-
- it ('shows <nop> as map rhs', function()
- meths.set_keymap('n', 'asdf', '<nop>', {})
- eq('\nn asdf <Nop>', helpers.exec_capture('nmap asdf'))
- end)
end)
describe('nvim_buf_set_keymap, nvim_buf_del_keymap', function()