Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update records indent from the curly brace #1892

Merged
merged 5 commits into from Sep 27, 2021
Merged

Conversation

nojaf
Copy link
Contributor

@nojaf nojaf commented Sep 16, 2021

Fixes #1876.
I do still need to take anonymous records into account.

@nojaf
Copy link
Contributor Author

nojaf commented Sep 22, 2021

Would you mind reviewing the unit tests @dsyme?
I believe all cases are now indented correctly from the { or {|, with a few limitations when the indent_size is too small.

@dsyme
Copy link
Contributor

dsyme commented Sep 24, 2021

The testing looks great

@nojaf nojaf merged commit fed7d42 into fsprojects:4.6 Sep 27, 2021
@nojaf nojaf deleted the fix-1876 branch September 27, 2021 13:09
nojaf added a commit that referenced this pull request Sep 29, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 5, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 7, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 8, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 18, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 20, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 26, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Oct 27, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 2, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 3, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 7, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 9, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 10, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 19, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Nov 24, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Dec 4, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Dec 29, 2021
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Jan 7, 2022
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Jan 8, 2022
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Jan 8, 2022
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Jan 14, 2022
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
nojaf added a commit that referenced this pull request Jan 14, 2022
* Update records indent from the curly brace.
Fixes #1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
jindraivanek pushed a commit to jindraivanek/fantomas that referenced this pull request Mar 30, 2022
* Update records indent from the curly brace.
Fixes fsprojects#1876.

* WIP anonymous records

* Indent multiline record field expressions from the opening brace.

* Restore correct indent after update record expression.

* trigger CI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants