forked from rems-project/sail
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fmt: optimize fmt for let_binder, exps, if_stmt ...
- new module - WrapChecker: check if `chunk[s]` must wrap - new function - doc_chunks_nowrap_or_surround: check nowrap, if not, then surround - doc_chunks_rhs: check wrap, if true then prefix hardline - format rule updates - if_stmt will be prefix a hardline and nested if wrap - force foreach wrap
- Loading branch information
Showing
17 changed files
with
1,584 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"fmt": { | ||
"indent": 2, | ||
"preserve_structure": false, | ||
"line_width": 120, | ||
"ribbon_width": 1.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.