Skip to content

Improve whitespaces/indentation #18

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Querela
Copy link

@Querela Querela commented Jul 3, 2025

Hi,
looking through the source code was a bit of a pain with the inconsistent indentation... (Noticable when opening with code editors that assume tabs are 4 spaces which makes looking through code in diffs etc. difficult when tabs and spaces are mixed and tabs are not 4 spaces wide.)
I saw that in the majority of files the indentation was 4 spaces, so I converted or "fixed" everything I noticed.

  • In particular 8 spaces seemed to be expressed as tabs which I converted to spaces. There was also a mix of tabs and whitespaces when it was not dividable by 8.
  • A few files used 2 space indentation which I converted to 4.
  • Any trailing whitespaces were trimmed.

I saw some alignments in function parameters and conditional expressions that I also fixed to be similar to what I saw in other places.

I did NOT run an auto-formatter, so custom indentation (in conditionals, argument lists) should have been preserved.

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

Successfully merging this pull request may close these issues.

1 participant