Open tumashu opened 4 years ago
same as mine #48, for now I just hack it to void reinit it . it's not best way but works.
(use-package! liberime
:when (featurep! +rime)
:load-path (lambda()(expand-file-name "liberime" +my-ext-dir))
:defer 1
:unless liberime-is-loaded ;; HERE
:custom
(rime_share_data_dir "/Library/Input Methods/Squirrel.app/Contents/SharedSupport/")
(rime_user_data_dir (expand-file-name "rime" +my-ext-dir))
:init
(module-load (expand-file-name "liberime.so" +my-ext-dir))
:config
(setq liberime-is-loaded t) ;; AND HERE
(liberime-start rime_share_data_dir rime_user_data_dir)
(liberime-select-schema "luna_pinyin_simp"))
I'm using doom-emacs BTW.