You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I happened to be logging the arguments the idris process to a log file while testing the interactive features with vim. It seems that when you do a case-split, the file is loading 3 times.
I had a peek at ftplugin.vim but I'm not that familiar with Vim Script. Looks like at least one of the loads comes from a call to w (but I don't see how w calls back to IdrisReload).
Note that originally, I was outputting the idris args to stderr but it seemed to interfere with idris-vim. If you want to set up your idris like I did, a minimal code change to main/Main.hs is to update your main to something like this:
I happened to be logging the arguments the
idris
process to a log file while testing the interactive features with vim. It seems that when you do a case-split, the file is loading 3 times.This makes things feel quite sluggish.
I had a peek at
ftplugin.vim
but I'm not that familiar with Vim Script. Looks like at least one of the loads comes from a call tow
(but I don't see howw
calls back toIdrisReload
).Note that originally, I was outputting the
idris
args to stderr but it seemed to interfere withidris-vim
. If you want to set up youridris
like I did, a minimal code change tomain/Main.hs
is to update yourmain
to something like this:The text was updated successfully, but these errors were encountered: