Skip to content

Instantly share code, notes, and snippets.

@shigemk2
Created March 6, 2015 14:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shigemk2/84e01d2005cb3c9f4673 to your computer and use it in GitHub Desktop.
Save shigemk2/84e01d2005cb3c9f4673 to your computer and use it in GitHub Desktop.
(add-hook 'haskell-mode-hook 'turn-on-haskell-doc-mode)
(add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(add-hook 'haskell-mode-hook 'font-lock-mode)
(add-hook 'haskell-mode-hook 'imenu-add-menubar-index)
(custom-set-variables
'(haskell-indent-after-keywords (quote (("where" 4 0) ("of" 4) ("do" 4) ("mdo" 4) ("rec" 4) ("in" 4 0) ("{" 4) "if" "then" "else" "let")))
'(haskell-indent-offset 4)
'(haskell-indent-spaces 4))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment