emacs - 安装 cider-nrepl

标签 emacs clojure lisp read-eval-print-loop cider

我已经安装了 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/

相关文章:

emacs - 在Emacs中,其他窗口(C-x o)的相反功能是什么?

clojure - Clojure 中 Joda 时间的自定义 Transit 编写器

emacs - 如何重新连接到 Slime/swank-clojure session ?

interop - 在Clojure中动态访问Java字段?

scheme - 从方案中的列表中打印对

bash - 如何在 ubuntu 上的 emacs 中运行 shell 命令同时避免 bash 作业控制错误?

perl - Microsoft Word 到组织模式

linux - 如何在应用之前取消 emacs 中的命令?

search - Lisp - 爬山

Lisp 关联列表