[Fix] E121: Undefined variable: file in IdrisReload
This commit is contained in:
parent
b057b734aa
commit
5f31ebb697
1 changed files with 2 additions and 1 deletions
|
@ -94,7 +94,8 @@ endfunction
|
||||||
|
|
||||||
function! IdrisReload(q)
|
function! IdrisReload(q)
|
||||||
w
|
w
|
||||||
let tc = system("idris2 --find-ipkg " . shellescape(expand('%:p')) . " --client ''")
|
let file = expand('%:p')
|
||||||
|
let tc = system("idris2 --find-ipkg " . shellescape(file) . " --client ''")
|
||||||
if (! (tc is ""))
|
if (! (tc is ""))
|
||||||
call IWrite(tc)
|
call IWrite(tc)
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue