lean4-htt/tests/lean/interactive/ppShowLetValues.lean.expected.out
Kyle Miller 921ce7682e
feat: use omission dots for hidden let values in Infoview (#8041)
This PR changes the behavior of `pp.showLetValues` to use a hoverable
`⋯` to hide let values. This is now false by default, and there is a new
option `pp.showLetValues.threshold` for allowing small expressions to be
shown anyway. For tactic metavariables, there is an additional option
`pp.showLetValues.tactic.threshold`, which by default is set to the
maximal value, since in tactic states local values are usually
significant.
2025-05-27 23:09:11 +00:00

36 lines
1.8 KiB
Text

{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 14, "character": 2}}
{"range":
{"start": {"line": 14, "character": 2}, "end": {"line": 14, "character": 3}},
"goal": "x : Nat\ny : Nat := ⋯\n⊢ Nat"}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 23, "character": 2}}
{"range":
{"start": {"line": 23, "character": 2}, "end": {"line": 23, "character": 3}},
"goal": "x : Nat\ny : Nat := x + x\n⊢ Nat"}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 32, "character": 2}}
{"range":
{"start": {"line": 32, "character": 2}, "end": {"line": 32, "character": 3}},
"goal": "x : Nat\ny : Nat := x + x\n⊢ Nat"}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 40, "character": 2}}
{"rendered": "```lean\nx : Nat\ny : Nat := x + x\n⊢ Nat\n```",
"goals": ["x : Nat\ny : Nat := x + x\n⊢ Nat"]}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 49, "character": 2}}
{"rendered": "```lean\nx : Nat\ny : Nat := ⋯\n⊢ Nat\n```",
"goals": ["x : Nat\ny : Nat := ⋯\n⊢ Nat"]}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 59, "character": 2}}
{"rendered": "```lean\nx : Nat\ny : Nat := x + x\n⊢ Nat\n```",
"goals": ["x : Nat\ny : Nat := x + x\n⊢ Nat"]}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 69, "character": 2}}
{"range":
{"start": {"line": 69, "character": 2}, "end": {"line": 69, "character": 3}},
"goal": "x : Nat\ny : Nat := x\n⊢ Nat"}
{"textDocument": {"uri": "file:///ppShowLetValues.lean"},
"position": {"line": 79, "character": 2}}
{"rendered": "```lean\nx : Nat\ny : Nat := x\n⊢ Nat\n```",
"goals": ["x : Nat\ny : Nat := x\n⊢ Nat"]}