[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)
|
||||
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 ""))
|
||||
call IWrite(tc)
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue