reorg
This commit is contained in:
parent
ab7efe2cd0
commit
b2f60db9d1
|
@ -30,17 +30,6 @@ 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.
|
||||
|
||||
|
@ -107,3 +96,14 @@ If you feel that this coding style leads to excessive amounts of horizontal
|
|||
or vertical whitespace around your code, making it hard to fit enough of it
|
||||
on the screen, consider finding a better abstraction, so the code that
|
||||
does fit on the screen is easily understandable. ;)
|
||||
|
||||
----
|
||||
|
||||
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 use tabs for indentation:
|
||||
|
||||
((nil . ((indent-tabs-mode . t)
|
||||
(tab-width . 4)
|
||||
(fill-column . 80)))
|
||||
;; Warn about spaces used for indentation:
|
||||
(haskell-mode . ((eval . (highlight-regexp "^ *")))))
|
||||
|
|
Loading…
Reference in New Issue