-
Notifications
You must be signed in to change notification settings - Fork 6
7.Contributing
yousefhadder edited this page Dec 1, 2025
·
1 revision
Contributions are welcome! We encourage direct collaboration - you can open issues and pull requests directly to this repository.
- π Bug Reports: Please include steps to reproduce and your Neovim version
- π‘ Feature Requests: Feel free to suggest improvements or new features
- π§ Pull Requests: Focus on single features and include appropriate tests and documentation
See CONTRIBUTING.md for detailed development guidelines.
This plugin uses plenary.nvim for testing.
# Install plenary.nvim (if not already installed)
# Using lazy.nvim (add to your plugins):
{ "nvim-lua/plenary.nvim" }
# Or clone manually:
git clone https://github.com/nvim-lua/plenary.nvim \
~/.local/share/nvim/site/pack/vendor/start/plenary.nvim# Run all tests
make test
# Run specific test file
make test-file FILE=spec/markdown-plus/config_spec.lua
# Watch for changes and run tests
make test-watch # requires 'entr' command
# Run linter
make lint # requires 'luacheck'
# Format code
make format # requires 'stylua'
# Check formatting without modifying
make format-checkLinter: luacheck
# Install via LuaRocks
luarocks install luacheckFormatter: stylua
# Install via Homebrew (macOS)
brew install stylua
# Or via Cargo
cargo install styluaspec/
βββ markdown-plus/
β βββ config_spec.lua # Configuration tests
β βββ utils_spec.lua # Utility function tests
β βββ list_spec.lua # List management tests
β βββ headers_spec.lua # Headers & TOC tests
β βββ links_spec.lua # Link management tests
β βββ quote_spec.lua # Quote management tests
βββ minimal_init.lua # Test environment setup
- Create a feature branch:
git checkout -b feature/your-feature - Add tests for new features
- Ensure all tests pass:
make test - Run linter:
make lint - Format code:
make format - Submit a pull request