mirror of
https://github.com/neovim/neovim.git
synced 2025-10-21 17:21:49 +00:00
fix: <Nop> not shown in :map commands
This commit is contained in:
@@ -1037,4 +1037,9 @@ describe('nvim_buf_set_keymap, nvim_buf_del_keymap', function()
|
||||
eq(1, exec_lua[[return GlobalCount]])
|
||||
eq('\nNo mapping found', helpers.exec_capture('nmap asdf'))
|
||||
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)
|
||||
|
Reference in New Issue
Block a user