Permalink
Browse files

Enable completion for non-leiningen projects

  • Loading branch information...
1 parent d4977a6 commit 6042a92e5c17ef537a8af1535aa8a6e0e61ba2b0 @trptcolin trptcolin committed Feb 7, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 leiningen-core/src/leiningen/core/project.clj
  2. +2 −1 src/leiningen/repl.clj
@@ -69,6 +69,7 @@
(atom {:dev {:test-path ["test"]
:resources-path ["dev-resources"]
:dependencies '[[org.clojure/tools.nrepl "0.0.5"]
+ [clojure-complete "0.1.4"]
[org.thnetos/cd-client "0.3.3"]]}
:debug {:debug true}}))
View
@@ -12,7 +12,8 @@
(if project
(eval/eval-in-project project
`(clojure.tools.nrepl/start-server ~port ~ack-port)
- '(require 'clojure.tools.nrepl))
+ '(do (require 'clojure.tools.nrepl)
+ (require 'complete)))
(nrepl/start-server port ack-port)))
(def lein-repl-server (delay (nrepl/start-server)))

0 comments on commit 6042a92

Please sign in to comment.