Zulip Chat Archive

Stream: mathlib4

Topic: add 100th line on lean web


Kenny Lau (Jun 16 2025 at 00:11):

Is there a way to add the ruler for the 100th column on lean web?

Aaron Liu (Jun 16 2025 at 00:23):

I would like to have this too
screenshot from VSCode so you can see it in action:
image.png

Damiano Testa (Jun 16 2025 at 02:20):

I would also like to have at least the option of displaying the ruler. As a partial workaround, you can set the linter option that checks for line length and at least get a warning on long lines:

import Mathlib.Tactic.Linter.Style
set_option linter.style.longLine true
/-
0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789
01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
-/

Last updated: Dec 20 2025 at 21:32 UTC