-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
flambda-backend: Enable ocamlformat for Jane Syntax / language extens…
…ions code (#1876) * Enable and apply ocamlformat * Document the divergence in ocamlformat settings
- Loading branch information
1 parent
20b32a0
commit cf32778
Showing
10 changed files
with
1,110 additions
and
1,110 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,21 @@ | ||
# Please make a pull request to change this file. | ||
disable=true | ||
# There is an .ocamlformat-enable file in this directory. | ||
# Keep the remainder of this file in sync with other .ocamlformat files in this repo. | ||
assignment-operator=begin-line | ||
cases-exp-indent=2 | ||
doc-comments=before | ||
dock-collection-brackets=false | ||
if-then-else=keyword-first | ||
module-item-spacing=sparse | ||
parens-tuple=multi-line-only | ||
sequence-blank-line=compact | ||
space-around-lists=false | ||
space-around-variants=false | ||
type-decl=sparse | ||
version=0.24.1 | ||
|
||
# The existing comments are hand-formatted and lose a lot of readability | ||
# if we wrap them. We should either convert the comments we care about to | ||
# doc comments, or make this same setting change everywhere. | ||
wrap-comments=false |
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,5 @@ | ||
jane_syntax.ml | ||
jane_syntax.mli | ||
jane_syntax_parsing.ml | ||
jane_syntax_parsing.mli | ||
jane_asttypes.mli |
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 |
---|---|---|
|
@@ -25,7 +25,6 @@ | |
*) | ||
|
||
|
||
open Asttypes | ||
|
||
type global_flag = | ||
|
Oops, something went wrong.