mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:30:05 +08:00
fix(typo): fix typo in prompt.lua
This commit is contained in:
parent
02d708c547
commit
bb19007e4a
@ -85,8 +85,8 @@ function M._handle_input(...)
|
|||||||
elseif char == ket.t('<C-u>') then
|
elseif char == ket.t('<C-u>') then
|
||||||
elseif char == ket.t('<C-k>') then
|
elseif char == ket.t('<C-k>') then
|
||||||
elseif char == ket.t('<bs>') then
|
elseif char == ket.t('<bs>') then
|
||||||
elseif (type(self._keys.close) == 1 add char == self._keys.close)
|
elseif (type(self._keys.close) == 1 and char == self._keys.close)
|
||||||
or (type(self._keys.close) == 3 add index(self._keys.close, char) > -1 ) then
|
or (type(self._keys.close) == 3 and index(self._keys.close, char) > -1 ) then
|
||||||
elseif char == key.t('<FocusLost>') or char == key.t('<FocusGained>')or char2nr(char) == 128 then
|
elseif char == key.t('<FocusLost>') or char == key.t('<FocusGained>')or char2nr(char) == 128 then
|
||||||
else
|
else
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user