Skip to content

Fix indentation - #2896

Merged
karussell merged 5 commits into
graphhopper:masterfrom
otbutz:patch-3
Oct 26, 2023
Merged

karussell merged 5 commits into
graphhopper:masterfrom
otbutz:patch-3

Conversation

@otbutz

@otbutz otbutz commented Oct 24, 2023 •

Copy link
Copy Markdown
Contributor

The indentation of our config example was inconsistent.

@otbutz
otbutz marked this pull request as ready for review October 24, 2023 16:32
@karussell

karussell commented Oct 26, 2023 •

Copy link
Copy Markdown
Member

Hm, the problem in your case seems to be how I remove the #. If I remove it with an IDE-specific shortcut (for intellij) it will make a different thing compared to pressing DEL multiple times. If the # is directly at the start of the line both ways work the same way. Can we keep the indentation for the profiles section? (the other indentation should be probably fixed, yes)

@otbutz

otbutz commented Oct 26, 2023

Copy link
Copy Markdown
Contributor Author

I only changed the profiles section for consistency. The rest is the real problem here:

image

Maybe I'm partly to blame for this mess:

indent_size = 4

The indent_size should be changed for yml files.

@otbutz

otbutz commented Oct 26, 2023

Copy link
Copy Markdown
Contributor Author

Fixed the indentation preset for json and yml and also reverted the profiles section changes.

@karussell
karussell merged commit 49c456d into graphhopper:master Oct 26, 2023
@karussell karussell added this to the 9.0 milestone Oct 26, 2023
@karussell

Copy link
Copy Markdown
Member

Ok, thank you!

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants