-
Notifications
You must be signed in to change notification settings - Fork 11
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
Saving get's extremely slow #14
Comments
Thanks for the report. I have a couple questions if that is ok.
|
|
Ok thanks. Default mode is just when we let it redraw on every change. Non-default would be the custom events. Could you list the other plugins you have too? I'm thinking it could also be a conflict with another plugin. (like you pointed out for gitsigns. I dont see it here, but it was in the email.) |
Yea the gitsigns thing I then quickly figured out to be unrelated. All of my plugins are here: https://github.com/elkowar/dots-of-war/blob/master/files/.config/nvim/plugins.lua - it's a lot ^^' |
Sorry for the delay in responding. I am using a 236 line Rust file, and a save seems snappy to me. No UI freeze at all. I have to think its a conflict with another plugin. Any ideas that can help me narrow it down from your list? |
@cmgriffing seems to be a conflict with https://github.com/rust-lang/rust.vim - could have tried that directly, sorry. As soon as I remove that plugin, saving works normally... |
Awesome. Thanks for clarifying that. I can test more with it to see how I can make my plugin work better with the official rust plugin. I will update the thread after I have tried. |
Well, I installed the Rust plugin and still cant seem to reproduce the issue. What version of Lua are you using? I am on LuaJIT 2.1.0. I would be stoked to hop into a screenshare to try and troubleshoot why I can't reproduce it. Feel free to fiddle with the code locally too, just to see if there is an easy fix that we could bring in regardless of whether I can reproduce the issue. |
currently on luaJit 2.1.0. I might do some toying around with the code 👍🏻 |
I left this hanging way too long, but could we address it some Sunday? |
This is really weird, but..... After setting this up, saving in my rust code started to take around 1-3 seconds of fully locked up editor. uninstalling biscuits again made everything snappy again....
The text was updated successfully, but these errors were encountered: