我是按照 github 页面上的配置,没有自定义。但在 meow 下,normal-mode 和 insert-mode 之间的切换后,输入法的状态不会随之改变。想看看各位大大是如何进行配置的,为何我的不行?
(use-package sis
;; :hook
;; enable the /follow context/ and /inline region/ mode for specific buffers
;; (((text-mode prog-mode) . sis-context-mode)
;; ((text-mode prog-mode) . sis-inline-mode))
:straight (sis
:host github
:repo "laishulu/emacs-smart-input-source"))
:config
;; For MacOS
(sis-ism-lazyman-config
;; English input source may be: "ABC", "US" or another one.
;; "com.apple.keylayout.ABC"
"com.apple.keylayout.US"
;; Other language input source: "rime", "sogou" or another one.
;; "im.rime.inputmethod.Squirrel.Rime"
"com.sogou.inputmethod.sogou.pinyin")
;; enable the /cursor color/ mode
(sis-global-cursor-color-mode t)
;; enable the /respect/ mode
(sis-global-respect-mode t)
;; enable the /context/ mode for all buffers
(sis-global-context-mode t)
;; enable the /inline english/ mode for all buffers
(sis-global-inline-mode t)