summaryrefslogtreecommitdiff
path: root/doc/coding_style.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/coding_style.mdwn')
-rw-r--r--doc/coding_style.mdwn2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/coding_style.mdwn b/doc/coding_style.mdwn
index bf127fe0..8c464b9d 100644
--- a/doc/coding_style.mdwn
+++ b/doc/coding_style.mdwn
@@ -120,6 +120,6 @@ Note for emacs users: You can put the following snippet into a file called
(tab-width . 8)
(fill-column . 80)))
;; Warn about spaces used for indentation:
- (haskell-mode . ((eval . (highlight-regexp "^ *")))))
+ (haskell-mode . ((eval . (highlight-regexp "^ +")))))
Also consider [haskell-tab-indent-mode](https://spwhitton.name/tech/code/haskell-tab-indent/). The standard indentation modes that come with haskell-mode do not work well with tabs for indentation. This mode works well for hacking on Propellor.