在配置里加了这么一句:
(add-hook 'lean-mode-hook
(lambda () (setq-default sis-english-source "Lean")))
但是没有效果,在lean-mode里sis-english-source
被设置成了Lean
,但切换evil的模式时输入法不会切到Lean
,而且有时会奇怪地切到fcitx5中文输入法(我的外界输入法是fcitx5)。
sis的全部配置是:
(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))
:config
(sis-ism-lazyman-config "1" "2" 'fcitx5)
;; enable the /cursor color/ mode
(sis-global-cursor-color-mode t)
;; enable the /respect/ mode
(sis-global-respect-mode t)
;; enable the /follow context/ mode for all buffers
(sis-global-context-mode t)
;; enable the /inline english/ mode for all buffers
(sis-global-inline-mode t)
)
如何解决呢…