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

Why set a default for twigPrintWidth? #77

Open
avdv opened this issue Feb 16, 2021 · 0 comments
Open

Why set a default for twigPrintWidth? #77

avdv opened this issue Feb 16, 2021 · 0 comments

Comments

@avdv
Copy link

avdv commented Feb 16, 2021

The README says:

Because Twig files might have a lot of nesting, it can be useful to define a separate print width for Twig files. This can be done with this option. If it is not set, the standard printWidth option is used.

However, since a default value is given for twigPrintWidth, it will never use the default printWidth. One has to override both options to have the same value throughout different files in a codebase.

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

No branches or pull requests

1 participant