As of Leiningen 2.3.2 there is yet another portfile convention

This commit is contained in:
Jace Bennett 2013-08-20 23:49:40 -04:00
parent 52d906b3a4
commit 740ca20ff1

View File

@ -1180,7 +1180,7 @@ function! s:portfile()
endif endif
let root = b:leiningen_root let root = b:leiningen_root
let portfiles = [root.'/target/repl-port', root.'/target/repl/repl-port'] let portfiles = [root.'/target/repl-port', root.'/target/repl/repl-port', root.'/.nrepl-port']
for f in portfiles for f in portfiles
if filereadable(f) if filereadable(f)