1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-02 22:30:04 +08:00

Fix neovim-qt in windows os

ref: https://github.com/neovim/neovim/issues/12487
This commit is contained in:
Shidong Wang 2020-06-13 21:29:59 +08:00
parent fa330a8ffe
commit 57da4de45d

View File

@ -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