Skip to content

Ability to disable certain indent cases? #105

@samtay

Description

@samtay

I see in the README I can globally toggle indentation off. I'd like to just disable indention for let clauses. There's really no good assumption of what a user wants to do when in a do block and on the line beneath a let statement.
For example,

-- let g:haskell_indent_let = 4
something = do
  let x = 1
  y <- something else -- everytime you hit space on this line, it will shove the y under the x

-- let g:haskell_indent_let = 0
something = do
  let x = 1
      y = 0 -- everytime you hit space on this line, it will shove the y under the l

Drives me nuts - anyway I can stop it from trying to indent this at all?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions