else if → elseif

This commit is contained in:
rhiannon morris 2022-01-03 15:09:55 +01:00
parent 1e64a7bd2c
commit 6b8e2c8d3e
1 changed files with 2 additions and 4 deletions

View File

@ -99,10 +99,8 @@ function! IdrisReload(q)
let tc = system("idris2 --no-color --find-ipkg " . shellescape(file) . " --client ''")
if (! (tc is ""))
call IWrite(tc)
else
if (a:q==0)
call IWrite("Successfully reloaded " . file)
endif
elseif (a:q==0)
call IWrite("Successfully reloaded " . file)
endif
return tc
endfunction