feat(chinese): add +childframe for pyim candidates

Close: #6482
Co-authored-by: merrickluo <merrickluo@users.noreply.github.com>
This commit is contained in:
Henrik Lissner 2023-02-23 02:34:11 -05:00
parent 4594aaa7cd
commit 5d69d48943
No known key found for this signature in database
GPG key ID: B60957CA074D39A3
3 changed files with 8 additions and 0 deletions

View file

@ -13,6 +13,9 @@
current-input-method)
(add-to-list 'evil-escape-inhibit-functions #'+chinese--input-method-p))
(when (modulep! +childframe)
(setq pyim-page-tooltip 'posframe))
;; allow vertico/selectrum search with pinyin
(cond ((modulep! :completion vertico)
(advice-add #'orderless-regexp