我已经安装了 CIDER 0.7.0,现在当我在 Emacs 中启动它时(通过 M-x cider-jack-in RET),我收到以下警告:
WARNING: CIDER's version (0.7.0) does not match cider-nrepl's version (not installed)
我已经下载了 cider-nrepl并发现它由闭包代码组成,而不是 emacs lisp 代码。由于我今天才开始探索 Clojure 世界,项目页面上没有安装说明,您能告诉我如何安装 cider-nrepl 吗?
最佳答案
您需要将其放入 lein project.clj 或全局 lein 配置中。摘自official documentation :
Use the convenient plugin for defaults, either in your project's project.clj file or in the :user profile in ~/.lein/profiles.clj.
:plugins [[cider/cider-nrepl "0.7.0"]]
A minimal profiles.clj for CIDER would be:
{:user {:plugins [[cider/cider-nrepl "0.7.0"]]}}
关于emacs - 安装 cider-nrepl,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25399136/