emacs: Switched Haskell indent mode

This commit is contained in:
Vincent Ambo 2013-07-08 16:59:35 +02:00
parent 0ebbf64fd1
commit 9961463ad7
2 changed files with 2 additions and 1 deletions

View file

@ -9,6 +9,7 @@
'(erc-modules '(erc-modules
(quote (quote
(autojoin button completion dcc irccontrols list log match menu move-to-prompt netsplit networks noncommands notifications readonly ring scrolltobottom stamp track))) (autojoin button completion dcc irccontrols list log match menu move-to-prompt netsplit networks noncommands notifications readonly ring scrolltobottom stamp track)))
'(haskell-mode-hook (quote (font-lock-mode)))
'(ns-alternate-modifier (quote none)) '(ns-alternate-modifier (quote none))
'(ns-command-modifier (quote meta))) '(ns-command-modifier (quote meta)))
(custom-set-faces (custom-set-faces

View file

@ -14,7 +14,7 @@
;; Configure haskell-mode ;; Configure haskell-mode
;; Enable semi-automatic indentation and font-locking ;; Enable semi-automatic indentation and font-locking
(add-hook 'haskell-mode-hook 'turn-on-haskell-indentation) (add-hook 'haskell-mode-hook 'turn-on-haskell-indent)
(add-hook 'haskell-mode-hook 'font-lock-mode) (add-hook 'haskell-mode-hook 'font-lock-mode)
;; Add keybindings to move nested blocks with C-, rsp. C-. ;; Add keybindings to move nested blocks with C-, rsp. C-.