diff options
| author | Joey Hess <joey@kitenet.net> | 2014-11-01 13:32:51 -0400 |
|---|---|---|
| committer | Joey Hess <joey@kitenet.net> | 2014-11-01 13:32:51 -0400 |
| commit | e0a97678804610afd3dffd0e1ad445050ffb0d6c (patch) | |
| tree | 166c359e827ee36dcf5df1cd1ea2466820d764f6 /doc | |
| parent | 85262917891727aedfec998bcd9a68820e818893 (diff) | |
| parent | ab7efe2cd0f3bd6508b164e458329b41b313a852 (diff) | |
Merge branch 'joeyconfig'
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/coding_style.mdwn | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/coding_style.mdwn b/doc/coding_style.mdwn index 10b98328..d2dbaf2f 100644 --- a/doc/coding_style.mdwn +++ b/doc/coding_style.mdwn @@ -30,6 +30,17 @@ each indented with a tab. foo = ... bar = ... +Note for emacs users: You can put the following snippet into a file called +`.dir-locals.el` at root of propellor's source tree to ensure these indentation +rules are enforced: + + ((nil . ((indent-tabs-mode . t) + (tab-width . 4) + (fill-column . 80))) + ;; Warn about spaces used for indentation: + (haskell-mode . ((eval . (highlight-regexp "^ *"))))) + + Where clauses for instance definitions and modules tend to appear at the end of a line, rather than on a separate line. |
