mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-27 02:24:57 +08:00
fix reconnecting not using the RIME interface
This commit is contained in:
parent
fe899f6aec
commit
7f06ccfa8a
1 changed files with 2 additions and 3 deletions
|
|
@ -35,9 +35,8 @@ class FcitxRimeComm():
|
|||
|
||||
try:
|
||||
if vim.eval('get(g:, "fcitx5_rime")') == '1':
|
||||
Fcitx = FcitxRimeComm()
|
||||
else:
|
||||
Fcitx = FcitxComm()
|
||||
FcitxComm = FcitxRimeComm
|
||||
Fcitx = FcitxComm()
|
||||
fcitx_loaded = True
|
||||
except dbus.exceptions.DBusException as e:
|
||||
if not vim.vars.get('silent_unsupported'):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue