-
Notifications
You must be signed in to change notification settings - Fork 125
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
Depth limit seems to be off by one #174
Labels
Comments
yeah, let's fix this |
Bump :) |
PR's welcome! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently, a depth limit of
1
means that nothing gets indented (same for0
). That seems wrong, as the limit should be the (inclusive) maximum depth.This can be fixed by changing the
pretty.indent < config.ident
to a<=
check.@kvark Do you agree this is a bug?
The text was updated successfully, but these errors were encountered: