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

Ability to disable certain indent cases? #105

Open
samtay opened this issue Apr 5, 2018 · 1 comment
Open

Ability to disable certain indent cases? #105

samtay opened this issue Apr 5, 2018 · 1 comment

Comments

@samtay
Copy link

samtay commented Apr 5, 2018

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?

@luc-tielen
Copy link

This drives me crazy as well, would really love to see this feature being added!

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

No branches or pull requests

2 participants