代码之家  ›  专栏  ›  技术社区  ›  mherzl

如何在spacemacs中安装flycheck?

  •  3
  • mherzl  · 技术社区  · 8 年前

    我正在尝试使用 flycheck 使用我的spacemacs设置。

    这个 spacemacs documentation ,在“12.4.0.6次要模式”列表下 飞行支票 作为可切换的模式 SPC t s .

    flycheck spacemacs documentation

    但是,我的spacemacs设置中没有此类选项。紧迫的 SPC t 引发一组选项,其中不包括 s .

    spacemacs no flycheck

    如果我按 SPC t s 不管怎样,我明白了 SPC t s is undefined .

    如何安装flycheck以与spacemacs一起使用?

    1 回复  |  直到 8 年前
        1
  •  6
  •   Sam Pillsworth    8 年前

    Flycheck 作为 syntax-checking 层您需要安装该层才能使用 Spc t s 键绑定。查看图层文档 here . 要使用它,只需添加 语法检查 到您的列表 dotspacemacs-configuration-layers 像这样:

    (setq-default
     dotspacemacs-configuration-layers
        '(
          syntax-checking
          )
     )
    
    推荐文章