mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test: add test for <Cmd> mapping with character containing K_SPECIAL byte
This commit is contained in:
parent
9a1920e223
commit
02e9a402ca
@ -136,6 +136,12 @@ describe('mappings with <Cmd>', function()
|
||||
]])
|
||||
end)
|
||||
|
||||
it('handles character containing K_SPECIAL (0x80) byte correctly', function()
|
||||
command([[noremap <F3> <Cmd>let g:str = '‥'<CR>]])
|
||||
feed('<F3>')
|
||||
eq('‥', eval('g:str'))
|
||||
end)
|
||||
|
||||
it('works in various modes and sees correct `mode()` value', function()
|
||||
-- normal mode
|
||||
feed('<F3>')
|
||||
|
Loading…
Reference in New Issue
Block a user