Skip to content

Commit 1c353f6

Browse files
committed
Socket Repl connects if needed
1 parent e91c066 commit 1c353f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

socket-repl-plugin/plugin/socketrepl.vim

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,11 @@ let g:channel = -1
55
function! StartIfNotRunning()
66
if g:is_running == 0
77
echo 'starting plugin...'
8-
"TODO - This is a dirty hack. We should launch things without changing
9-
"the working directory.
108
exec ':cd ' . s:p_dir
119
exec ':cd ..'
1210
let g:channel = rpcstart('java', ['-jar', 'socket-repl-plugin-0.1.0-SNAPSHOT-standalone.jar'])
1311
let g:is_running = 1
12+
call Connect()
1413
endif
1514
endfunction
1615

0 commit comments

Comments
 (0)