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

--xcodeindentation seems not working #1616

Open
x-0o0 opened this issue Jan 21, 2024 · 1 comment
Open

--xcodeindentation seems not working #1616

x-0o0 opened this issue Jan 21, 2024 · 1 comment

Comments

@x-0o0
Copy link

x-0o0 commented Jan 21, 2024

Thanks for the amazing formatting tools.

I'm facing some minor issue:

In .swiftformat file, I set --xcodeindentation enabled to flatten ternary operators like below:

someCondition
? valueForTrue
: valueForFalse

but it keeps adding indent before operators:

someCondition
    ? valueForTrue
    : valueForFalse
screenshot

please let me know if there's something wrong

@easydev991
Copy link

easydev991 commented Feb 16, 2024

I have an issue with the same behaviour: #1351

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

No branches or pull requests

2 participants