首页 > 解决方案 > 在 spacemacs 上安装 Flycheck

问题描述

按照本指南将 Spacemacs 配置为 C++ IDE,我在安装Flycheck时遇到了问题。

我已按照此处说明的说明进行操作,但在添加syntax-checking说明后dotspacemacs-configuration-layers,在启动 spacemacs 时出现以下错误:

Error (use-package): flycheck/:init: Symbol’s function definition is void: global-flycheck-mode

总的来说,我对 spacemacs 和 emacs 完全陌生,所以我可能错过了一些明显的东西。

Emacs 版本:27.0.50

Spacemacs 版本:0.200.13

谢谢你的帮助,

标签: emacsspacemacsflycheck

解决方案


我在这个函数中添加了附加包

dotspacemacs-additional-packages '(org-trello ereader plantuml-mode elmine org-alert org-super-agenda easy-hugo ponylang-mode flycheck-pony flycheck-plantuml)

并在(custom-set-variables将packege添加到 '(package-selected-packages

重启 spacemacs 后,一切都对我有用,希望它对你也有帮助。


推荐阅读