From e99526c9d4a3e827baa25490c82ad7eadb977254 Mon Sep 17 00:00:00 2001 From: Gracjan Polak Date: Wed, 3 Jun 2015 20:21:05 +0200 Subject: [PATCH] haskell-indentation better defaults --- haskell-indentation.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/haskell-indentation.el b/haskell-indentation.el index 8b4593518..e0d526166 100644 --- a/haskell-indentation.el +++ b/haskell-indentation.el @@ -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) @@ -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)