nvim-lua-guide icon indicating copy to clipboard operation
nvim-lua-guide copied to clipboard

Adds create-nvim-plugin

Open KaiSpencer opened this issue 3 years ago • 2 comments

I created this simple CLI tool to easily scaffold a named lua plugin, setting up all the necessary files, directories etc.

KaiSpencer avatar Jul 16 '22 21:07 KaiSpencer

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.

justinmk avatar Jul 17 '22 09:07 justinmk

I believe such a tool would be better suited for a more general-purpose list like awesome-neovim rather than this guide

nanotee avatar Jul 17 '22 10:07 nanotee