mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 20:30:05 +08:00
Fix neovim-qt in windows os
ref: https://github.com/neovim/neovim/issues/12487
This commit is contained in:
parent
fa330a8ffe
commit
57da4de45d
@ -64,6 +64,11 @@ endf
|
||||
|
||||
function! s:self._getchar(...) abort
|
||||
let ret = call('getchar', a:000)
|
||||
" @bug getchar() does not work for <
|
||||
" https://github.com/neovim/neovim/issues/12487
|
||||
if ret ==# "\x80\xfc\<C-b><"
|
||||
return '<'
|
||||
endif
|
||||
return (type(ret) == type(0) ? nr2char(ret) : ret)
|
||||
endfunction
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user