Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler-executable/iris-cli/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ pub struct FormatOptions {
#[usage(arg_group)]
pub mode: Option<FormatMode>,

/// Preferred line width. Defaults to 80 columns.
/// Preferred line width. Defaults to 100 columns.
#[usage(long, value_name = "COLUMNS")]
pub width: Option<usize>,

Expand Down
2 changes: 1 addition & 1 deletion compiler-frontend/formatting/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub struct Config {

impl Default for Config {
fn default() -> Config {
Config { line_width: 80, indent_width: 2, unicode: false }
Config { line_width: 100, indent_width: 2, unicode: false }
}
}

Expand Down
2 changes: 1 addition & 1 deletion documentation/formatting.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ iris format --width 100 --indent 4 --unicode
|--------|----------|
| `--check` | List unformatted paths and exit with status 1 when changes are needed, without modifying files |
| `--write` | Replace selected files with formatted output; the default in workspace mode |
| `--width COLUMNS` | Preferred line width; a positive value, defaulting to 80 |
| `--width COLUMNS` | Preferred line width; a positive value, defaulting to 100 |
| `--indent SPACES` | Spaces per indentation level; from 1 to 65535, defaulting to 2 |
| `--unicode` | Emit Unicode built-in signatures, arrows, constraints, and quantifiers |

Expand Down
2 changes: 1 addition & 1 deletion tests-e2e/tests/snapshots/cli__help_format.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading