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

Only apply if_condition_align_with_each_other when there are conditions to align #79

Closed
ddickstein opened this issue Dec 26, 2022 · 1 comment
Labels
bug Something isn't working
Milestone

Comments

@ddickstein
Copy link

When if_condition_align_with_each_other is enabled but there are no conditions to align, you just end up with two spaces after the if statement, which looks a bit odd.

if  foo then
  exp
elseif bar then
  exp
end

I think it should only apply if an and or or is detected beneath the if/elseif.

@CppCXY CppCXY added the bug Something isn't working label Dec 26, 2022
@CppCXY
Copy link
Owner

CppCXY commented Dec 26, 2022

after my refactor complete, I will fix this

@CppCXY CppCXY added this to the 1.0.0 milestone Dec 26, 2022
@CppCXY CppCXY mentioned this issue Jan 4, 2023
16 tasks
@CppCXY CppCXY closed this as completed Feb 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants