lean4-htt/src/Lean/Parser
David Thrane Christiansen 64c0555e0b
fix: parse indented Verso docstrings specially (#12331)
This PR treats the first character of the first line of a docstring as
being in the leftmost column, even if it physically is not. This allows
left-column items like headers to be used even after spaces. It also
detects the indentation of the entire docstring, using it as the
zero-point for indentation sensitive syntax such as headers.

Closes #12067.
2026-02-06 21:03:56 +00:00
..
Tactic fix: make first token detection work in modules (#12047) 2026-01-20 11:12:05 +00:00
Term chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Attr.lean fix: make first token detection work in modules (#12047) 2026-01-20 11:12:05 +00:00
Basic.lean chore: fix typo in parser docstring (#11753) 2025-12-20 23:17:47 +00:00
Command.lean feat: allow Verso syntax for module docs to be controlled separately (#12329) 2026-02-06 09:09:04 +00:00
Do.lean feat: new do elaborator, part 1: doElem_elab attribute (#11150) 2025-11-12 14:25:28 +00:00
Extension.lean chore: ready shake for use on core (#12326) 2026-02-05 12:37:55 +00:00
Extra.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
Level.lean refactor: remove some unnecessary meta imports (#9542) 2025-07-25 15:14:02 +00:00
Module.lean chore: shake core (#12276) 2026-02-05 09:10:32 +00:00
StrInterpolation.lean chore: rename String.Pos to String.Pos.Raw (#10624) 2025-10-01 07:45:24 +00:00
Syntax.lean feat: enable notationItem in "mixfix" notation commands (#10378) 2025-09-14 18:54:36 +00:00
Tactic.lean fix: make first token detection work in modules (#12047) 2026-01-20 11:12:05 +00:00
Term.lean fix: parse indented Verso docstrings specially (#12331) 2026-02-06 21:03:56 +00:00
Types.lean chore: rename Substring to Substring.Raw (#11154) 2025-11-16 09:30:04 +00:00