Improve plugin via "best practices" to reduce load times & provide health checks #39
chipsenkbeil
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Link here: https://github.com/nvim-neorocks/nvim-best-practices?tab=readme-ov-file
Topic here: https://www.reddit.com/r/neovim/comments/1cthu3x/dos_and_donts_for_modern_neovim_lua_plugin/
I don't know if I agree with all of these. For example, the "no automatic keymaps" given that you can disable them all. Additionally the "no setup function" given that we have specialized setup that needs to be applied before the plugin can function at all.
Some of the ftplugin logic might work well? Main thought is to reduce load times further on the plugin.
Beta Was this translation helpful? Give feedback.
All reactions