-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lag in vim on saving .ml file #64
Comments
actually, the ALE fixer uses a lot of time:
|
and i have enabled the ALE fixer on save with |
I don’t know ALE, but in my memories (in fact, in comments I left for myself in my .vimrc) the builtin folder for OCaml is “slow and totally broken” (obsolete maybe?). Maybe you’d better disable it altogether? Tell me if I’m wrong. " disable the builtin OCaml folder (but by default it should already be disabled):
unlet g:ocaml_folding |
in my config, [edit]: no, that does not seem to have been the cause. i still get lag on saving after i either |
hi, recently i have noticed laggy behavior when editing a small to medium sized dune project in vim. i tried to debug it by using
:profile start profile.log
,profile func *
. i then performed:w
then i broke the last line in this function:when i then
:w
again, i get a lag of a few seconds. my finalprofile.log
has the following suspicious section:i don't understand why function should be called that often? this is the function with the biggest time budget in the profile.
i am using
ocp-indent
and the ALE plugin, where i setto trim whitespace.
The text was updated successfully, but these errors were encountered: