DefaultPrettyCfg returns a PrettyCfg with the default configuration.
()
| 67 | // DefaultPrettyCfg returns a PrettyCfg with the default |
| 68 | // configuration. |
| 69 | func DefaultPrettyCfg() PrettyCfg { |
| 70 | return PrettyCfg{ |
| 71 | LineWidth: DefaultLineWidth, |
| 72 | Simplify: true, |
| 73 | TabWidth: 4, |
| 74 | UseTabs: true, |
| 75 | Align: PrettyNoAlign, // TODO(knz): I really want this to be AlignAndDeindent |
| 76 | } |
| 77 | } |
| 78 | |
| 79 | // PrettyAlignMode directs which alignment mode to use. |
| 80 | // |
no outgoing calls
searching dependent graphs…