-
Notifications
You must be signed in to change notification settings - Fork 18
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
Very slow to update for long s-exprs #43
Comments
@metasoarous yea, noticing the same thing. The VimL implementation is very very slow, so I think #35 would probably be a big improvement |
In the first release I actually sent the buffer over the wire to a node.js server running the parinfer js lib and that was also considerably quicker |
@metasoarous are you using neovim or regular vim? |
Regular vim. |
Hi! I ported parinfer to Rust, which Vim can call through libcall(). It's much faster, doesn't require Neovim, and can probably be improved, speed-wise. It might be beta quality, though. |
@eraserhd can't wait to try it |
98% of the time, vim-parinfer works great for me, but for code with very long top level forms (long defrecords for instance), it tends to be pretty horrible (well nigh unusable, sometimes forcing me to switch to Cursive). Other parinfer-capable editors I've used don't seem to have this problem, so I'm assuming the issue isn't inherent to the algorithm, but instead the implementation.
Is there a chance #35 might help us here?
The text was updated successfully, but these errors were encountered: