-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
[Bug] Aniseed compile potentially conflicts with impatient.nvim
#68
Comments
Hmm, it's weird, now I have the same issue with |
Hmm there could be issues, Fennel is changing a LOT right now as they move towards v1, so they're making breaking changes in the run up. I think I've insulated you from the environment changes with Aniseed though. They did change some actual compiler things too, the one that comes to mind is I prefer that and I think it's the right move, but it could be a breaking change if you're expecting absolutely nothing returned from some functions in some cases. |
Hmm, interesting, this could be the case then. |
Update: I use built-in
|
How's this look on develop for you now, out of interest? I've added some extra options and defaults to force the module macros to produce static ready Lua even if you're compiling in a dynamic env or where the module already exists. I used to assume if the module is already loaded and you try to compile it you're doing an interactive eval, so it produced dynamic eval targeted Lua. Now I force it to produce static ready Lua in more scenarios. |
It's working for me and shaved off about 20-50ms! That plus Aniseed's new module system which produces MUCH more efficient and minimal Lua now. (in line with what you'd hand write anyway) |
@Olical first of all, kudos to your hardworking. When I saw what you said above, I couldn't wait to try it out. I'm happy to say that my issue is fixed, though it might be too soon to speak. Also, it feels snappier when startup. You're genius 🧙♂️ |
@Olical |
Using
impatient.nvim
give me significant startup improvement, however this also give me a weird and/or unknow bug as shown in the followingScreen_Recording_2021-09-25_at_3.12.28_pm.mov
Actual behavior: a same file was loaded 4 times
Expected behavior: file is loaded normally
The config which caused the issue
Remove
impatient.nvim
plugin, the configuration works as normalQuote from Aniseed creator:
The text was updated successfully, but these errors were encountered: