ellisonleao/nvim-plugin-template

github github
neovim-lua-development
star 34
stars
alert-circle 0
open issues
users 2
subscribers
git-branch 2
forks
CREATED

2022-02-14

UPDATED

12 days ago


A Neovim Plugin Template

GitHub Workflow Status Lua

A template repository for Neovim plugins.

Using it

Via gh:

$ gh repo create my-plugin -p ellisonleao/nvim-plugin-template

Via github web page:

Click on Use this template

Features and structure

  • 100% Lua
  • Github actions to run tests and check for formatting errors (Stylua)
  • Tests created with busted + plenary.nvim

Plugin structure

.
├── lua
│   ├── plugin_name
│   │   └── module.lua
│   └── plugin_name.lua
├── Makefile
├── plugin
│   └── plugin_name.lua
├── README.md
├── tests
│   ├── minimal_init.lua
│   └── plugin_name
│       └── plugin_name_spec.lua