Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Add config for laravel/pint #144

Merged
merged 5 commits into from
Oct 16, 2023
Merged

Conversation

kauffinger
Copy link
Contributor

This PR adds a preset for laravel/pint. A popular formatting tool for laravel. It has preconfigured configs for e.g. laravel and symfony code styling.

  • Supports both mason and local composer install

I am not sure if using vim.fn.stdpath("data") to get to the mason install path is a good practice, as I am not too experienced with nvim scripting. Feel free to change

Copy link
Owner

@stevearc stevearc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple small nits

lua/conform/formatters/pint.lua Outdated Show resolved Hide resolved
lua/conform/formatters/pint.lua Outdated Show resolved Hide resolved
@kauffinger kauffinger requested a review from stevearc October 16, 2023 15:06
@stevearc
Copy link
Owner

Thanks for the PR!

@stevearc stevearc merged commit 43414c8 into stevearc:master Oct 16, 2023
@kauffinger
Copy link
Contributor Author

You are welcome, thanks for your great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants