Zulip Chat Archive

Stream: lean4

Topic: dot notation in infoview


Ben Selfridge (Mar 24 2025 at 03:18):

Any way to completely disable dot notation pretty-printing in infoview?

Kyle Miller (Mar 24 2025 at 03:19):

set_option pp.fieldNotation false

Ben Selfridge (Mar 24 2025 at 03:20):

Awesome -- any idea how I can find these things out by myself in the future? Google doesn't seem to work very well for stuff like this.

Kyle Miller (Mar 24 2025 at 03:32):

The #help option pp command shows you all the options (if you have the right Batteries modules imported). Eventually this should appear in the reference manual too.

I looked at https://github.com/leanprover/lean4/blob/master/src/Lean/PrettyPrinter/Delaborator/Options.lean, since I happen to have the Lean source code open.

Asei Inoue (Mar 24 2025 at 09:04):

you can see https://seasawher.github.io/mathlib4-help/options/


Last updated: May 02 2025 at 03:31 UTC