mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-26 18:14: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:
|
try:
|
||||||
if vim.eval('get(g:, "fcitx5_rime")') == '1':
|
if vim.eval('get(g:, "fcitx5_rime")') == '1':
|
||||||
Fcitx = FcitxRimeComm()
|
FcitxComm = FcitxRimeComm
|
||||||
else:
|
Fcitx = FcitxComm()
|
||||||
Fcitx = FcitxComm()
|
|
||||||
fcitx_loaded = True
|
fcitx_loaded = True
|
||||||
except dbus.exceptions.DBusException as e:
|
except dbus.exceptions.DBusException as e:
|
||||||
if not vim.vars.get('silent_unsupported'):
|
if not vim.vars.get('silent_unsupported'):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue