@@ -158,7 +158,7 @@ endfunction "}}}
158158function ! ghcmod#async_make (type , path , callback) " {{{
159159 let l: tmpfile = tempname ()
160160 let l: args = s: build_make_command (a: type , a: path )
161- let l: proc = s: plineopen2 ([{' args' : l: args , ' fd' : { ' stdin' : ' ' , ' stdout' : l: tmpfile , ' stderr' : ' ' }}])
161+ let l: proc = s: plineopen3 ([{' args' : l: args , ' fd' : { ' stdin' : ' ' , ' stdout' : l: tmpfile , ' stderr' : ' ' }}])
162162 let l: obj = {
163163 \ ' proc' : l: proc ,
164164 \ ' tmpfile' : l: tmpfile ,
@@ -286,17 +286,17 @@ function! ghcmod#system(...) "{{{
286286 return l: ret
287287endfunction " }}}
288288
289- function ! s: plineopen2 (... ) " {{{
289+ function ! s: plineopen3 (... ) " {{{
290290 lcd `= ghcmod#basedir ()`
291- let l: ret = call (' vimproc#plineopen2 ' , a: 000 )
291+ let l: ret = call (' vimproc#plineopen3 ' , a: 000 )
292292 lcd -
293293 return l: ret
294294endfunction " }}}
295295
296296function ! s: system (type , args ) " {{{
297297 let l: tmpfile = tempname ()
298298 try
299- let l: proc = s: plineopen2 ([{' args' : a: args , ' fd' : { ' stdin' : ' ' , ' stdout' : l: tmpfile , ' stderr' : ' ' }}])
299+ let l: proc = s: plineopen3 ([{' args' : a: args , ' fd' : { ' stdin' : ' ' , ' stdout' : l: tmpfile , ' stderr' : ' ' }}])
300300 let [l: cond , l: status ] = ghcmod#util#wait (l: proc )
301301 let l: tries = 1
302302 while l: cond == # ' run'
0 commit comments