Skip to content

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

@georgefst

Description

@georgefst
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.

Activity

ndmitchell

ndmitchell commented on Jan 21, 2024

@ndmitchell
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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jneira@hasufell@ndmitchell@Ailrun@georgefst

        Issue actions

          Make Fourmolu's use of editor 'tabSize' configurable · Issue #632 · haskell/haskell-language-server