Personal tools


From HaskellWiki

< Emacs(Difference between revisions)
Jump to: navigation, search
(On Save: Rewording on save.)
m (On Save)
(One intermediate revision by one user not shown)

Latest revision as of 18:58, 28 May 2012

[edit] 1 Stylish Haskell

Use M-x haskell-mode-stylish-buffer to call stylish-haskell on the current buffer.

[edit] 1.1 On Save

To call it for every save, make sure you have C-x C-s rebound to haskell-mode-save-buffer, and then pop the following somewhere in your Emacs configuration:

(setq haskell-stylish-on-save t)

Or in your custom set variables:

(custom-set-variables '(haskell-stylish-on-save t))

Or you can M-x customize-group haskell and pretend none of this exists!