mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-26 18:14:57 +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()
|
||||
if im == 'rime':
|
||||
return self._get_rime().GetCurrentSchema()
|
||||
else:
|
||||
return im
|
||||
|
||||
def _get_rime(self):
|
||||
if self._rime is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue