mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2026-05-15 01:51:13 +08:00
fix not returning IM name when it's not rime
This commit is contained in:
parent
eb62569b3b
commit
dc95d0301b
1 changed files with 2 additions and 0 deletions
|
|
@ -23,6 +23,8 @@ class FcitxComm:
|
||||||
im = self.fcitx.CurrentInputMethod()
|
im = self.fcitx.CurrentInputMethod()
|
||||||
if im == 'rime':
|
if im == 'rime':
|
||||||
return self._get_rime().GetCurrentSchema()
|
return self._get_rime().GetCurrentSchema()
|
||||||
|
else:
|
||||||
|
return im
|
||||||
|
|
||||||
def _get_rime(self):
|
def _get_rime(self):
|
||||||
if self._rime is None:
|
if self._rime is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue