mirror of
https://github.com/neovim/neovim.git
synced 2025-01-02 17:33:28 -07:00
vim-patch:8.2.4899: with latin1 encoding CTRL-W might go before the cmdline
Problem: With latin1 encoding CTRL-W might go before the start of the
command line.
Solution: Check already being at the start of the command line.
ef02f16609
This commit is contained in:
parent
d4b9f8186d
commit
c57c25649b
@ -642,6 +642,9 @@ func Test_cmdline_remove_char()
|
||||
|
||||
call feedkeys(":abc def\<S-Left>\<C-U>\<C-B>\"\<CR>", 'tx')
|
||||
call assert_equal('"def', @:, e)
|
||||
|
||||
" This was going before the start in latin1.
|
||||
call feedkeys(": \<C-W>\<CR>", 'tx')
|
||||
endfor
|
||||
|
||||
let &encoding = encoding_save
|
||||
|
Loading…
Reference in New Issue
Block a user