问题描述
我正在尝试在我的spacemacs设置中使用 flycheck
.
I am attempting to use flycheck
with my spacemacs setup.
spacemacs
文档,在"12.4.0.6次要模式"下列出了作为可以用SPC t s
切换的模式.
但是,我的spacemacs设置中没有此类选项.按下SPC t
会出现一组不包含s
的选项.
However, no such option is present in my spacemacs setup. Pressing SPC t
raises a set of options that does not include s
.
而且,如果我仍然按SPC t s
,则会收到消息SPC t s is undefined
.
And, if I press SPC t s
anyway, I get the message SPC t s is undefined
.
如何安装flycheck以与spacemacs一起使用?
推荐答案
Flycheck
作为syntax-checking
层的一部分提供.您需要安装该层才能使用Spc t s
键盘绑定.在此处中查看图层文档.要使用它,只需将syntax-checking
添加到您的dotspacemacs-configuration-layers
列表中,如下所示:
Flycheck
is provided as part of the syntax-checking
layer. You need to install that layer in order to use the Spc t s
keybinding. Check out the layer documentation here. To use it just add syntax-checking
to your list of dotspacemacs-configuration-layers
like so:
(setq-default
dotspacemacs-configuration-layers
'(
syntax-checking
)
)
这篇关于如何在spacemacs中安装flycheck?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!