【发布时间】:2014-04-30 13:33:45
【问题描述】:
我已经使用 brew install leiningen 安装了 Leiningen Clojure 项目工具(REPL 工作正常)。
我想用 Vim 写一些 Clojure 代码,所以我安装了以下插件:
- https://github.com/tpope/vim-fireplace/
- https://github.com/tpope/vim-classpath
- https://github.com/tpope/vim-clojure-static/
- https://github.com/vim-scripts/paredit.vim
- https://github.com/kien/rainbow_parentheses.vim
我打开了三个终端控制台,依次执行命令:
lein new compojure my-projectlein replcd my-project && vim
在 Vim 中,我首先连接到 REPL...
:Connect nrepl://127.0.0.1:60356
...然后我打开my-project/src/my_project/handler.clj 文件并按cpp(我认为它是:Eval 的别名,而我的光标位于第一个左括号的第一个字符上。
此时我收到以下错误:
FileNotFoundException Could not locate my_project/handler__init.class or my_project/handler.clj on classpath: clojure.lang.RT.load (RT.java:443)
我找不到任何合适的解决方案?
【问题讨论】:
标签: vim clojure vim-plugin