Open KaiSpencer opened 2 years ago
Why? Creating a Nvim Lua plugin is a matter of creating a single file on the user's runtimepath: lua/foo.lua
. A doc/foo.txt
is also recommended. But, steering users towards a nodejs script to create such things makes it seem far more complex than it is or should be, while hiding the important and simple lesson of the real structure of a plugin.
I believe such a tool would be better suited for a more general-purpose list like awesome-neovim rather than this guide
I created this simple CLI tool to easily scaffold a named lua plugin, setting up all the necessary files, directories etc.