mirror of
https://github.com/lilydjwg/fcitx.vim.git
synced 2025-12-28 03:15:08 +08:00
Fix #33, display rime IME name when use fcitx
This commit is contained in:
parent
d79d816e24
commit
8decf940cd
1 changed files with 5 additions and 1 deletions
|
|
@ -19,7 +19,11 @@ class FcitxComm():
|
|||
self.fcitx.Deactivate()
|
||||
|
||||
def current(self):
|
||||
return self.fcitx.CurrentInputMethod()
|
||||
ime = self.fcitx.CurrentInputMethod()
|
||||
if str(ime) == 'rime':
|
||||
rime = FcitxRimeComm()
|
||||
ime = rime.current()
|
||||
return ime
|
||||
|
||||
class FcitxRimeComm():
|
||||
def __init__(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue