emacs - 在 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
谢谢你的帮助,
解决方案
我在这个函数中添加了附加包
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 后,一切都对我有用,希望它对你也有帮助。
推荐阅读
- angular - 我如何模拟 id = this.route.snapshot.params.id; 在角度?
- kotlin - 无法解析 Kotlin Multiplatform 中的 cinterop IOS 导入
- elasticsearch - Elasticsearch 英语词干无法正常工作
- python - 如何实现线性萨尔萨
- interbase - Interbase 备份验证
- azure-active-directory - 如何使用 GraphServiceClient c# 创建 AD 嵌套组?
- haskell - `empty',`<|>' : 不是类 `Alternative' 的(可见)方法
- arrays - 在数组中查找特定字符串
- python - 在另一个文件夹中安装 Python Pandas
- c++ - 从模板派生类重载基类虚函数