I forget the structure of a neovim
plugin every single time. So I created the
boilerplate to make it easier to get started writing neovim
plugin.
- clone the project
git clone https://github.com/s1n7ax/neovim-lua-plugin-boilerplate
- go to the project folder
cd neovim-lua-plugin-boilerplate
- start editing
nvim --cmd "set rtp+=."
- reference the dev configurations
:luafile dev/init.lua
- run the greetings.greet() function using
,w
keybind