else if → elseif
This commit is contained in:
parent
1e64a7bd2c
commit
6b8e2c8d3e
1 changed files with 2 additions and 4 deletions
|
@ -99,10 +99,8 @@ function! IdrisReload(q)
|
||||||
let tc = system("idris2 --no-color --find-ipkg " . shellescape(file) . " --client ''")
|
let tc = system("idris2 --no-color --find-ipkg " . shellescape(file) . " --client ''")
|
||||||
if (! (tc is ""))
|
if (! (tc is ""))
|
||||||
call IWrite(tc)
|
call IWrite(tc)
|
||||||
else
|
elseif (a:q==0)
|
||||||
if (a:q==0)
|
call IWrite("Successfully reloaded " . file)
|
||||||
call IWrite("Successfully reloaded " . file)
|
|
||||||
endif
|
|
||||||
endif
|
endif
|
||||||
return tc
|
return tc
|
||||||
endfunction
|
endfunction
|
||||||
|
|
Loading…
Add table
Reference in a new issue