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: introduce pp.maxSteps #4556

Merged
merged 1 commit into from
Jun 24, 2024
Merged

feat: introduce pp.maxSteps #4556

merged 1 commit into from
Jun 24, 2024

Conversation

kmill
Copy link
Collaborator

@kmill kmill commented Jun 24, 2024

The pp.maxSteps option is a hard limit on the complexity of pretty printer output, which is necessary to prevent the LSP from crashing when there are accidental large terms. We're using the default value from the corresponding Lean 3 option.

This PR also sets pp.deepTerms to false by default.

The `pp.maxSteps` option is a hard limit on the complexity of pretty printer output, which is necessary to prevent the LSP from crashing when there are accidental large terms.

This PR also sets `pp.deepTerms` to `false` by default.
@github-actions github-actions bot added the toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN label Jun 24, 2024
@leanprover-community-mathlib4-bot
Copy link
Collaborator

Mathlib CI status (docs):

  • ❗ Batteries/Mathlib CI will not be attempted unless your PR branches off the nightly-with-mathlib branch. Try git rebase 3b67e15827e178f79efea3b161ed71100457f6ec --onto e3578c2f36c2d4fa9cc55584a7671c0c81c70ed9. (2024-06-24 19:06:27)

@leodemoura leodemoura added this pull request to the merge queue Jun 24, 2024
Merged via the queue into leanprover:master with commit 49249b9 Jun 24, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
toolchain-available A toolchain is available for this PR, at leanprover/lean4-pr-releases:pr-release-NNNN
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants