A template repository for creating Neovim plugins written in Lua, with testing and CI workflows pre-configured.
plugin-template.nvim is a template repository for creating Neovim plugins written in Lua. It provides a pre-configured project structure with integrated testing, linting, and continuous integration workflows to accelerate plugin development.
Neovim plugin developers who want a standardized starting point for Lua-based plugins, especially those looking to incorporate testing and CI from the outset.
It eliminates the initial setup overhead by offering a battle-tested template with testing frameworks and GitHub Actions pre-configured, ensuring code quality and compatibility across Neovim versions.
A template to create Neovim plugins written in Lua
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Provides a pre-configured directory layout with placeholder names, making it easy to organize plugin code from the start, as mentioned in the README's 'Pre-configured Structure'.
Includes Busted, luassert, and matcher_combinators for writing tests in the `test/spec/` directory, with Makefile commands to run them, ensuring robust testing out of the box.
Comes with GitHub Actions that run tests and linting on commits and PRs using both stable and nightly Neovim versions, guaranteeing compatibility and code quality.
Uses git submodules for testing dependencies and Makefile commands like `make prepare` to handle setup, simplifying the initial configuration process.
Requires Lua, LuaRocks for linting, and entr for the watch feature, adding extra installation steps that might not be needed in simpler setups.
Testing dependencies are installed as git submodules, which can be tricky to manage and update, especially for developers unfamiliar with submodules.
Enforces the use of specific tools like Busted and Makefile, with no built-in support for alternative testing frameworks or build systems, reducing adaptability.