mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-28 20:25:08 +08:00
Fix types and wording
This commit is contained in:
parent
bcdbcec7b1
commit
bd6fc8c091
2 changed files with 4 additions and 4 deletions
|
|
@ -14,8 +14,8 @@ set cpo&vim
|
|||
" If g:fcitx5_remote is set (to the path to `fcitx5-remove`), use it to toggle IME state.
|
||||
if exists("g:fcitx5_remote")
|
||||
function Fcitx2en()
|
||||
let inputstatus = system(g:fcitx5_remote)
|
||||
if inputstatus == 2
|
||||
let inputstatus = trim(system(g:fcitx5_remote))
|
||||
if inputstatus == '2'
|
||||
let b:inputtoggle = 1
|
||||
call system(g:fcitx5_remote . ' -c')
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue