Skip to content

A neovim plugin template for github repos

License

Notifications You must be signed in to change notification settings

ellisonleao/nvim-plugin-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 for:
    • running tests using plenary.nvim and busted
    • check for formatting errors (Stylua)
    • vimdocs autogeneration from README.md file
    • luarocks release (LUAROCKS_API_KEY secret configuration required)

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