Closed neriglissar closed 4 years ago
When reloading a file that has no matching *.ipkg, I get the following error in neovim:
*.ipkg
Error detected while processing function IdrisReload: line 7: E121: Undefined variable: file E116: Invalid arguments for function IWrite
I don't know vimscript, but this fix looks trivial.
[Edit] Just saw this has already been posted - see https://github.com/edwinb/idris2-vim/pull/3#discussion_r426256485
Sorry I'm lagging on this repo! I should probably move it to the idris-hackers org and let someone else run it. In the meantime, thanks for the fix.
When reloading a file that has no matching
*.ipkg
, I get the following error in neovim:I don't know vimscript, but this fix looks trivial.
[Edit] Just saw this has already been posted - see https://github.com/edwinb/idris2-vim/pull/3#discussion_r426256485