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

Feature request : Support braces with the first one being on the same line and second one is aligned. #927

Closed
OnurGumus opened this issue Jun 22, 2020 · 3 comments · Fixed by #930

Comments

@OnurGumus
Copy link

I would like to have support for the following indentation

Html.div [
    prop.text "test" 
]

Is much neater than the other alternatives offered by fantomas.

@nojaf
Copy link
Contributor

nojaf commented Jun 23, 2020

@OnurGumus would you be willing to contribute this feature yourself given enough pointers?

@OnurGumus
Copy link
Author

Perhaps :)

nojaf added a commit to nojaf/fantomas that referenced this issue Jun 24, 2020
@nojaf
Copy link
Contributor

nojaf commented Jun 24, 2020

@OnurGumus this was all still quite fresh in my memory, I ended up tackling this myself 😅

nojaf added a commit that referenced this issue Jun 25, 2020
* Support Feliz style

* Refactored Feliz expressions. Fixes #927

* Added SingleArgumentWebMode to schema.json

* Bump to alpha 011
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 a pull request may close this issue.

2 participants