Skip to content

Make Fourmolu's use of editor 'tabSize' configurable #632

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
georgefst opened this issue Nov 27, 2020 · 1 comment
Open

Make Fourmolu's use of editor 'tabSize' configurable #632

georgefst opened this issue Nov 27, 2020 · 1 comment
Labels

Comments

@georgefst
Copy link
Collaborator

Follow up to #599.

Fourmolu sets indentation based on the editor's setting, when available. Some people (@zweimach) don't like this, so we should have the option to disable this behaviour.

Blocked on #513.

@ndmitchell
Copy link
Collaborator

In particular, because fourmulo writes out:

foo = x
  where
    x = 7

I've had the default VS Code tab be detected as 2 for some short documents, which then causes fourmulo to do the unexpected thing.

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

No branches or pull requests

5 participants