问题描述
我已经安装了 CIDER 0.7.0,现在当我在 Emacs 中启动它时(通过 ),我收到以下警告:
警告:CIDER 的版本 (0.7.0) 与 cider-nrepl 的版本不匹配(未安装)
我下载了 cider-nrepl 并发现它由闭包代码组成,而不是 emacs lisp 代码.由于我今天才开始探索Clojure世界,项目页面上也没有安装说明,请问如何安装cider-nrepl?
你需要把它放到 lein project.clj 或全局 lein 配置中.摘自官方文档:
在项目的 project.clj 文件或 ~/.lein/profiles.clj 中的 :user 配置文件中使用方便的默认插件.
:plugins [[cider/cider-nrepl "0.7.0"]]
CIDER 的最小配置文件.clj 将是:
{:user {:plugins [[cider/cider-nrepl "0.7.0"]]}}
I've installed CIDER 0.7.0 and now when I start it inside of Emacs (via ), I get the following warning:
I've downloaded cider-nrepl and found out that it consists of closure code, not emacs lisp code. Since I've started exploring Clojure world just today, and there is no installation instructions on the project page, could you tell me how can I install cider-nrepl?
You need to put it into lein project.clj or into global lein configuration. Excerpt from official documentation:
:plugins [[cider/cider-nrepl "0.7.0"]]
{:user {:plugins [[cider/cider-nrepl "0.7.0"]]}}
这篇关于安装 cider-nrepl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!