Thanks for wanting to contribute! Bob is community-driven and we appreciate all contributions.
Code:
- Fix bugs or add features
- Improve performance
Non-Code:
- Improve docs
- Report bugs
- Suggest features
- Help answer issues
- Write tutorials
- Rust toolchain (rustup)
- Git
Only needed if testing the build-from-source feature. Requires CMake, Git, and platform-specific build tools. See the Neovim wiki.
# Fork and clone
git clone https://github.com/YOUR_USERNAME/bob.git
cd bob
# Create a branch
git checkout -b feature/your-feature
# Build
cargo build
# Run
cargo run -- --help
- Run
cargo fmtbefore committing - Run
cargo clippy -- -D warningsand fix issues - Write idiomatic Rust
- Avoid
unwrap()in production code - Ensure cross-platform compatibility
cargo test
If applicable add tests for new features and bug fixes. Test manually before submitting.
<type>: <short summary>
feat: add rollback feature
fix: resolve Windows path issue
docs: update installation guide
Types: feat, fix, docs, style, refactor, test, chore
All PRs must link to an existing, discussed issue. Don't open PRs out of thin air.
Workflow:
- Open an issue describing the change
- Discuss with maintainers
- Get approval
- Code and open PR linking to the issue
Exception: Typos, and docs fixes can skip the issue.
- Tests pass
- Code formatted (
cargo fmt) - No clippy warnings
- Docs updated
- Links to issue with "Fixes #123" or "Closes #456"
Include:
- Bob version (
bob --version) - OS and architecture
- Rust version (
rustc --version) - Steps to reproduce
- Expected vs actual behavior
- Logs/errors
- Config file (if relevant)
Check existing issues first. Open a new issue explaining:
- What you need and why
- How it should work
- Alternative approaches you considered
- Issues: Bug reports and feature requests
- Discussions: Questions and general chat
- Sponsor: Polar.sh or GitHub Sponsors
We'll respond within a few days. Patience appreciated—this is volunteer work!
By contributing, you agree your code will be licensed under the MIT License.
Thanks for contributing! 🚀