From 8b13cb2fe8f31d63c97bec8d61aa11ab5e0e7223 Mon Sep 17 00:00:00 2001 From: Tim Pope Date: Mon, 10 Dec 2012 14:50:00 -0500 Subject: [PATCH] Fix use of REPL root Closes #13. --- plugin/foreplay.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/foreplay.vim b/plugin/foreplay.vim index 136075e..2574a26 100644 --- a/plugin/foreplay.vim +++ b/plugin/foreplay.vim @@ -236,9 +236,8 @@ function! s:Connect(arg) let path = exists('b:java_root') ? b:java_root : fnamemodify(expand('%'), ':p:s?.*\zs[\/]src[\/].*??') let root = input('Path to root of project: ', path, 'dir') if root !=# '' - let s:repls[root] = client + let s:repl_paths[root] = client endif - echo "\n" return '' endfunction