我正在尝试使用 flycheck 使用我的spacemacs设置。
flycheck
这个 spacemacs documentation ,在“12.4.0.6次要模式”列表下 飞行支票 作为可切换的模式 SPC t s .
spacemacs
飞行支票
SPC t s
但是,我的spacemacs设置中没有此类选项。紧迫的 SPC t 引发一组选项,其中不包括 s .
SPC t
s
如果我按 SPC t s 不管怎样,我明白了 SPC t s is undefined .
SPC t s is undefined
如何安装flycheck以与spacemacs一起使用?
Flycheck 作为 syntax-checking 层您需要安装该层才能使用 Spc t s 键绑定。查看图层文档 here . 要使用它,只需添加 语法检查 到您的列表 dotspacemacs-configuration-layers 像这样:
Flycheck
syntax-checking
Spc t s
语法检查
dotspacemacs-configuration-layers
(setq-default dotspacemacs-configuration-layers '( syntax-checking ) )