-
-
Notifications
You must be signed in to change notification settings - Fork 210
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
Neovim with init.lua is faster #388
Comments
I like the idea of generating the configuration for neovim in lua, but how do we implement it within the current (generator) code? @voyeg3r do you have any suggestions? Do you have knowledge in our code base? |
The idea is not bad. However we'd have to implement another generator just for this. (I don't know this project's codebase but the assumption is logical) |
@cizordj one way to do this would be to abstract the final language that should be generated (viml, lua, etc) and use the template go (programming language used on the server) to generate the output file |
We all know how hard it would be to create a separate neovim exclusive config, but the speed it brings is huge.
Neovim now has native Language Server support, treesiter for better syntax.
There is a thread on Reddit on how much faster/or better using init.lua could be:
https://www.reddit.com/r/neovim/comments/jfs5sb/initvim_to_initlua_any_advantages/
Personally, I am using a plugin that caches lua plugins, which already are faster than pure vim:
The plugin manager is packer (written in lua)
Even it took a long time to implement, this solution would be great
The text was updated successfully, but these errors were encountered: