Skip to content

haskell-indentation better defaults #691

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

Merged
merged 1 commit into from
Jun 3, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions haskell-indentation.el
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ modes (e.g. fill-column-indicator)."
:group 'haskell-indentation)


(defcustom haskell-indentation-indent-leftmost 'both
(defcustom haskell-indentation-indent-leftmost t
"Indent to the left margin after certain keywords (for example after let .. in, case .. of). If set to t it will only indent to the left. If nil only relative to the containing expression. If set to the keyword 'both then both positions are allowed."
:type 'symbol
:group 'haskell-indentation)
Expand All @@ -86,7 +86,7 @@ modes (e.g. fill-column-indicator)."
:type 'integer
:group 'haskell-indentation)

(defcustom haskell-indentation-starter-offset 1
(defcustom haskell-indentation-starter-offset 2
"Extra indentation after an opening keyword (e.g. let)."
:type 'integer
:group 'haskell-indentation)
Expand Down