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

[formatter] async.nim uses two spaces #19264

Merged
merged 1 commit into from
Dec 17, 2021
Merged

[formatter] async.nim uses two spaces #19264

merged 1 commit into from
Dec 17, 2021

Conversation

ringabout
Copy link
Member

according to https://nim-lang.org/docs/nep1.html#introduction-spacing-and-whitespace-conventions, two spaces should be preferred in stdlib.

Two spaces should be used for indentation of blocks; tabstops are not allowed (the compiler enforces this). Using spaces means that the appearance of code is more consistent across editors. Unlike spaces, tabstop width varies across editors, and not all editors provide means of changing this width.

@dom96 dom96 merged commit 3d9b6cf into devel Dec 17, 2021
@dom96 dom96 deleted the xflywind-patch-1 branch December 17, 2021 10:17
PMunch pushed a commit to PMunch/Nim that referenced this pull request Mar 28, 2022
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 this pull request may close these issues.

2 participants