First off, thank you for considering contributing to vue-sfc-format.nvim! It's people like you who make the Neovim ecosystem better.
Before creating bug reports, please search the issue tracker to see if the problem has already been reported.
If you find a bug, please include:
- Your Neovim version
- Your configuration (the relevant part of your
init.luaorinit.vim) - Your
.vue-sfc-format.json - A minimal reproducible example (a
.vuefile that fails to format correctly) - Expected vs. actual behavior
Feature requests are welcome! Please open an issue and describe:
- The problem this feature would solve
- How you imagine the feature working
- Any alternatives you've considered
- Fork the repository
- Create a new branch (
git checkout -b feature/my-new-feature) - Make your changes
- Ensure tests pass and code style is maintained
- Update documentation (
doc/vue-sfc-format.txt) if you've added or changed features - Commit your changes following the Conventional Commits format
- Push to the branch (
git push origin feature/my-new-feature) - Create a new Pull Request
This project follows the Conventional Commits specification.
<type>: <description>
Types:
feat: A new featurefix: A bug fixdocs: Documentation changesstyle: Code style changes (formatting, whitespace)refactor: Code refactoring without feature changesperf: Performance improvementstest: Adding or updating testsbuild: Build system or dependency changesci: CI/CD configuration changeschore: Maintenance tasks
Examples:
feat: add support for custom script formatters
fix: resolve parsing error with nested template tags
docs: update configuration examples in README
refactor: simplify section extraction logic
This project uses vusted for testing.
To run tests locally:
- Install
vusted - Run
vusted tests/
We use Stylua for Lua code formatting. Please ensure your code follows the project's style by running:
stylua .We also use luacheck for linting.
luacheck .Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.